/etc/docker/daemon.json
{ "insecure-registries":["myregistry.example.com:5000"] }
或者使用 --insecure-registry
flag
--insecure-registry=myip:5000
sudo service docker restart
2022-06-23 03:57:47
/etc/docker/daemon.json
{ "insecure-registries":["myregistry.example.com:5000"] }
或者使用 --insecure-registry
flag
--insecure-registry=myip:5000
sudo service docker restart