Docker Ubuntu Behind Proxy

后端 未结 7 1556
陌清茗
陌清茗 2021-01-29 19:43

Looking at docs there is no instruction on how to run it behind a proxy. https://docs.docker.com/installation/ubuntulinux/

Reading on forums, the instruction is to updat

7条回答
  •  花落未央
    2021-01-29 19:56

    According to the Docs

    Add to ~/.docker/config.json proxy configuration

    {
     "proxies":
     {
       "default":
       {
         "httpProxy": "http://127.0.0.1:3001",
         "noProxy": "*.test.example.com,.example2.com"
       }
     }
    }
    

提交回复
热议问题