金融其它Docker运维规范

docker push 出现的问题

我的系统是centos6,docker镜像是 centos6
docker push  192.168.60.155:5000/centos7  
当我上传镜像时遇到如下错误
[root@agent1 ~]# docker push  192.168.60.155:5000/centos7  
FATA[0004] Error: v1 ping attempt failed with error: Get https://192.168.60.155:5000/v1/_ping: EOF. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry 192.168.60.155:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/192.168.60.155:5000/ca.crt
网上说有一个docker.conf的配置文件,加上一条命令就可以,但是我并没有找到docker.conf这个文件
请帮忙看看如何解决.谢谢
参与3

2同行回答

千里千里系统运维工程师太极
万分感谢显示全部
万分感谢收起
金融其它 · 2015-07-17
浏览2199
linux_zcylinux_zcy技术总监希云cSphere
centos6的系统编辑:vim /etc/sysconfig/docker.rpmsave添加:other_args='--insecure-registry 192.168.60.155:5000'保存培训文件,并重新启动docker即可解决你的问题!显示全部
centos6的系统编辑:vim /etc/sysconfig/docker.rpmsave
添加:other_args='--insecure-registry 192.168.60.155:5000'
保存培训文件,并重新启动docker即可解决你的问题!收起
互联网服务 · 2015-07-16
浏览2159

提问者

千里
系统运维工程师太极

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2015-07-16
  • 关注会员:1 人
  • 问题浏览:3917
  • 最近回答:2015-07-17
  • X社区推广