vi /etc/docker/daemon.json [root@localhost ~]# cat /etc/docker/daemon.json {"insecure-registries":["10.22.0.218:5000"]}
重启docker systemctl restart docker