编辑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"
    ]
}

参考:

https://www.cnblogs.com/hongdada/p/11512901.html

相关文章:

  • 2021-08-16
  • 2021-11-06
  • 2022-12-23
  • 2021-08-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2021-11-27
猜你喜欢
  • 2021-06-23
  • 2021-08-25
  • 2022-12-23
  • 2023-03-19
  • 2022-12-23
  • 2021-05-21
相关资源
相似解决方案