1,
docker pull registry
2,
docker run -di --name=registry -p 5000:5000 registry
3,
47.33.33.31:5000/v2/_catalog
4, modified host configuration docker
vi /lib/systemd/system/docker.service
/usr/bin/dockerd -H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375 --insecure-registry 12.16.9.116:5000
5, refresh the configuration and reboot docker
6, the image creation pushed to the private image library