在需要拉取镜像的机器上配置ip:5000,重启docker服务使生效

echo '{ "insecure-registries":["xxx.xxx.xxx.xxx:5000"] }' > /etc/docker/daemon.json
 
systemctl daemon-reload && systemctl restart docker