1.配置docker加速器 1.11启动第一个容器 1.12docker基础操作 2.搜索镜像 docker search 镜像名 [root@docker1 ~]# docker search nginxNAME DESCRIPTION STARS OFFICIAL AUTOMATEDnginx ...
分类:
其他好文 时间:
2018-05-25 21:14:23
阅读次数:
121
docker私有仓库及加速器配置与使用,一站解决!
分类:
其他好文 时间:
2018-05-23 11:50:53
阅读次数:
237
1、windows container模式下,pull镜像会失败 2、windows container模式下会存在问题,再次切换到linux container模式下,启动会出现问题 3、解决memory问题 右击docker状态栏的图标,选择设置(settings),再将advanced下的me ...
下载地址:https://imhx my.sharepoint.com/personal/pd_imhx_onmicrosoft_com/Documents/Forms/All.aspx?slrid=89ff689e 400b 0000 185c c6c29fc418a8&FolderCTID=0x ...
分类:
其他好文 时间:
2018-05-20 22:50:51
阅读次数:
371
1.搜索镜像【注:因为我这里采用的是阿里云镜像加速器,所以我直接在阿里云中搜索相关镜像路径】,点击"详情"查看公网拉取路径 2.拉取镜像 3.查看拉取的镜像 4.创建并运行容器【注:这里直接采用了"IMAGE ID"来指定镜像运行】 参考:rabbitmq官方docker使用说明 ...
分类:
其他好文 时间:
2018-05-11 23:58:02
阅读次数:
337
curl-sSLhttps://get.daocloud.io/daotools/set_mirror.sh|sh-shttp://537d9e1e.m.daocloud.io
分类:
其他好文 时间:
2018-05-01 20:36:23
阅读次数:
97
leetcode练习时,总会发现运行时间短的代码都会有类似: 所以对这几句代码做了了解: 这个函数是一个“是否兼容stdio”的开关,C++为了兼容C,保证程序在使用了std::printf和std::cout的时候不发生混乱,将输出流绑到了一起。 cin,cout之所以效率低,是因为先把要输出的东 ...
分类:
移动开发 时间:
2018-05-01 15:14:59
阅读次数:
1142
Ubuntu 的软件源配置文件是 /etc/apt/sources.list 换国内的,不然会疯。下面是清华大学滴: 然后reboot一下服务器。 然后配置个docker加速器 然后根据提示,重新启动一下docker服务,输入docker info,就可以看到docker的情况啦~ ...
分类:
系统相关 时间:
2018-04-29 01:21:47
阅读次数:
247
1.docker-machine ssh default(有时可省略) 2.sudo sed -i "s|EXTRA_ARGS='|EXTRA_ARGS='--registry-mirror=http://d7e77b19.m.daocloud.io |g" /var/lib/boot2docker ...
Centos PYPI Ruby Docker 加速器 安装加速 windows linux ubuntu sudo mkdir p /etc/docker sudo tee /etc/docker/daemon.json ...
分类:
系统相关 时间:
2018-04-17 12:00:03
阅读次数:
434