[root@localhost harbor]# vim /etc/systemd/system/docker.service
添加以下 --insecure-registry=192.168.1.16
ExecStart=/usr/bin/dockerd --insecure-registry=192.168.1.16
[root@localhost harbor]# systemctl daemon-reload &&systemctl restart docker
[root@localhost harbor]# vim /etc/systemd/system/docker.service
添加以下 --insecure-registry=192.168.1.16
ExecStart=/usr/bin/dockerd --insecure-registry=192.168.1.16
[root@localhost harbor]# systemctl daemon-reload &&systemctl restart docker