docker
「已注销」
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
批量构建docker镜像
批量构建dockers镜像shell脚本# !/bin/bash # 指定shell类型dockerfile="Dockerfile"length=`cat imageFile.txt | jq '.| length'`for ((i=0; i<length; i++))do if [ -f "$dockerfile" ]; then rm -rf $dockerfile fi imageUrl=`cat imageFile.txt原创 2021-04-27 10:23:58 · 643 阅读 · 0 评论 -
构建py3.6+tensorflow1.15镜像
通过容器构建#创建python3.6 conda install -y python=3.6 #创建tensorflow1.15conda install -y tensorflow-gpu=1.15python -m pip install -i https://pypi.douban.com/simple/ jupyter python -m pip install -i https://pypi.douban.com/simple/ ipywidgets jupyter nb原创 2021-04-27 10:11:45 · 425 阅读 · 0 评论 -
构建py3.6+pytorch1.2镜像
通过容器构建#创建python3.6 conda install -y python=3.6 #创建pytorch1.2conda install -y pytorch=1.2python -m pip install -i https://pypi.douban.com/simple/ jupyter python -m pip install -i https://pypi.douban.com/simple/ ipywidgets jupyter nbextension en原创 2021-04-27 10:11:04 · 323 阅读 · 0 评论 -
制作cuda10.0+miniconda镜像 dockerfile文件
dockerfileFROM nvidia/cuda:10.0-devel-ubuntu16.04MAINTAINER yangxd@deepblueai.comWORKDIR /home/userENV PATH /root/miniconda3/bin:$PATHENV PATH /root/miniconda3/condabin:$PATH #useradd --create-home --no-log-init --shell /bin/bash user \#&&a原创 2021-04-27 10:09:18 · 961 阅读 · 0 评论 -
docker设置国内镜像
1、vim /etc/docker/daemon.json2、添加国内镜像地址{"registry-mirrors":[ "http://hub-mirror.c.163.com", "https://registry.docker-cn.com", "https://docker.mirrors.ustc.edu.cn"]}3、重启dockersystemctl docker restart4、看下镜像是否生效docker info[外链图片转存失败,源站可能原创 2021-04-27 10:04:26 · 541 阅读 · 2 评论 -
docker搭建es集群+kinbana+logstash,实现日志收集功能
docker搭建es集群+kinbana+logstash,实现日志收集功能docker-composeversion: '3.1'services: es1: image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0 container_name: es1 ports: - "9200:9200" - "9300:9300" networks: - es-cluste原创 2021-04-27 10:03:09 · 678 阅读 · 0 评论
分享