Docker Installation Error on Windows behind Firewall

后端 未结 2 1820
醉话见心
醉话见心 2021-02-09 23:25

I\'m trying to install Docker on a Windows computer but I get this message:

Running pre-create checks...
(default) No default Boot2Docker

2条回答
  •  被撕碎了的回忆
    2021-02-09 23:50

    You may behind a firewall. If so, you will need to configure an http proxy.

    According to https://github.com/boot2docker/boot2docker-cli/issues/230 you can do this one of a couple of ways:

    (1) Edit start.sh and add the following before boot2docker.exe is called

    export HTTP_PROXY=
    export HTTPS_PROXY=
    

    (2) Add HTTP_PROXY and HTTPS_PROXY (and their values) to your System Variables or User Variables in your Windows config.

    The proxy value should be of the form http://hostname:port

提交回复
热议问题