Docker 安装配置

Linux(Centos)

 
1. 安装
yum install docker
 
2. 添加私有registry和registry mirror加速器
--insecure-registries='http://10.10.13.13:5000'
--registry-mirror ='http://dd7fe837.m.daocloud.io'(经测试无效,找到正确配置后会更新)
加入到你的 Docker 配置文件 /etc/default/docker 中。适用于 Ubuntu14.04、Debian、CentOS6 、CentOS7、Fedora、Arch Linux、openSUSE Leap 42.1,其他版本可能有细微不同。更多详情请访问文档
 

Mac

1. 安装
 
 
2. 添加私有registry和registry mirror加速器
 
右键点击桌面顶栏的 docker 图标,选择 Preferences ,在 Advanced 标签下
Insecure registries列表中加入下面的镜像地址:
http://10.10.13.13:5000
Registry mirrors 列表中加入下面的镜像地址:
http://dd7fe837.m.daocloud.ioCopy
点击 Apply & Restart 按钮使设置生效。
 
posted @ 2017-03-16 16:00  MILAS  Views(97)  Comments(0)    收藏  举报