- 服务端
docker pull registry
docker run -d -p 5000:5000 --name registry registry
- 客户端
vi /etc/docker/daemon.json
{ "insecure-registries":["192.168.163.131:5000"]}
docker pull registry
docker run -d -p 5000:5000 --name registry registry
vi /etc/docker/daemon.json
{ "insecure-registries":["192.168.163.131:5000"]}