docker pull registry
docker run -itd -v /data/registry:/var/lib/registry -p 5000:5000 —restart=always —name registry registry:latest
curl http://127.0.0.1:5000/v2/_catalog
{“repositories”:[]}
[root@master ~]# cat /etc/docker/daemon.json{"insecure-registries" : [ "49.233.44.136:5000","172.16.29.161:5000" ]}
systemctl restart docker
docker pull busybox
docker tag busybox:latest 49.233.44.136:5000/busybox:v1
docker push 49.233.44.136:5000/busybox:v1
http://49.233.44.136:5000/v2/_catalog
curl http://49.233.44.136:5000/v2/_catalog
