编辑daemon.json
vi /etc/docker/daemon.json
配置如下内容即可
{ "hosts":[ "tcp://0.0.0.0:2375", "unix:///var/run/docker.sock" ], "insecure-registries":[ "develop-harbor.geostar.com.cn", "test-harbor.geostar.com.cn", "release-harbor.geostar.com.cn" ] }
参考:
2022-08-09 13:16:47
编辑daemon.json
vi /etc/docker/daemon.json
配置如下内容即可
{ "hosts":[ "tcp://0.0.0.0:2375", "unix:///var/run/docker.sock" ], "insecure-registries":[ "develop-harbor.geostar.com.cn", "test-harbor.geostar.com.cn", "release-harbor.geostar.com.cn" ] }
参考: