解决方法:

 

vim  /etc/docker/daemon.json
{ "insecure-registries":["xxx.xxx.xxx.xxx:5000"] }
systemctl restart docker