How to set proxy in docker toolbox?

Corinne Kubler picture Corinne Kubler · Apr 25, 2016 · Viewed 22.7k times · Source

I have just installed docker toolbox on windows environnement (Windows 7 Pro) and I have got a network time out due to the entreprise proxy. How can I set the proxy in docker toolbox ?

Thanks for your help.

Answer

ShuSon picture ShuSon · Apr 18, 2017

I encountered the same problem. Here is my solution.

Env:

Win7, Docker Toolbox 17.03, cmder terminal, behind enterprise proxy setting.

Solution:

in C:\Program Files\Docker Toolbox, find start.sh file. add following two proxy settings:

export http_proxy="http://hostname:port/"
export https_proxy="http://hostname:port/"

At least, it works for me.