红联Linux门户
Linux帮助

docker无法上传镜像到本地仓库

发布时间:2015-12-28 15:18:55来源:linux网站作者:sherry_Rui

问题:

root@ubuntu:~# docker push 192.168.19.12:5000/application/huginn

The push refers to a repository [192.168.19.12:5000/application/huginn] (len: 1) 
unable to ping registry endpoint https://192.168.19.12:5000/v0/ 
v2 ping attempt failed with error: Get https://192.168.19.12:5000/v2/: EOF 
v1 ping attempt failed with error: Get https://192.168.19.12:5000/v1/_ping: EOF 


解决方法:
vi /etc/default/docker 

加入

DOCKER_OPTS="$DOCKER_OPTS --insecure-registry=192.168.19.12:5000"


用浏览器管理Docker:http://www.linuxdiyf.com/linux/16136.html

如何使用Docker快速配置数据科学开发环境?:http://www.linuxdiyf.com/linux/16082.html

在ubuntu15.10里面安装docker:http://www.linuxdiyf.com/linux/15340.html

阅读Docker源代码的神兵利器:http://www.linuxdiyf.com/linux/14512.html

ubuntu15.04下安装docker:http://www.linuxdiyf.com/linux/12989.html