需先修改配置文件并重启docker
vim /etc/docker/daemon.json,设置insecure-registries指定的IP为harbor私有仓库的地址,这里主要是告知客户端要连接http而不是https
{ "insecure-registries" : [ "10.11.0.50" ], "registry-mirrors" : [ "https://gbpursha.mirror.aliyuncs.com" ] } |
End of the universe is coding.
vim /etc/docker/daemon.json,设置insecure-registries指定的IP为harbor私有仓库的地址,这里主要是告知客户端要连接http而不是https
{ "insecure-registries" : [ "10.11.0.50" ], "registry-mirrors" : [ "https://gbpursha.mirror.aliyuncs.com" ] } |