Server ip:192.168.1.55:5000
#docker Pull Resistry
#docker run-itd-p 5000:5000-v/opt/data/registry/:/tmp/registry Registry
=============
Client Configuration
#vi/etc/sysconfig/docker
Options= '--selinux-enabled-b=kbr0--insecure-registry 192.168.1.55:5000 '
Docker_cert_path=/etc/docker
add_registry= '--add-registry 192.168.1.55 '
insecure_registry= '--insecure-registry 192.168.1.55:5000 '
Note that the symbols are all in English and may become Chinese on the page.
Restarting the client Docker
#systemctl Restart Docker
Upload image
#docker tag Docker.io/swarm 192.168.1.55:5000/swarm
#docker Push 192.168.1.55:5000/swarm
Download image
#docker Pull 192.168.1.55:5000/swarm
By cloud Original thanks to the Crab Brothers support his blog http://183.230.40.37:54322/
This article is from the "Ovs_docker" blog, make sure to keep this source http://3892977.blog.51cto.com/3882977/1727325
Docker Private Source