Hello Shriharsrsh,
Thanks for this great article. I am also struggeling with HTTP proxies at many places :-(
At the section "Setting proxy while building an image", where you write:
docker build --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy ...
...I noticed that my uppercase variable names from the WINDOWS environment keep uppercase in the MINGW docker shell. So I need to write the values in uppercase, too:
docker build --build-arg http_proxy=$HTTP_PROXY --build-arg https_proxy=$HTTP_PROXY ...
Or:
export http_proxy=$HTTP_PROXY export https_proxy=$HTTPS_PROXY export no_proxy=$NO_PROXY
Then, running:
docker build --build-arg http_proxy --build-arg https_proxy ...
is sufficient.
Regards Joachim
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello Shriharsrsh,
Thanks for this great article. I am also struggeling with HTTP proxies at many places :-(
At the section "Setting proxy while building an image", where you write:
...I noticed that my uppercase variable names from the WINDOWS environment keep uppercase in the MINGW docker shell. So I need to write the values in uppercase, too:
Or:
Then, running:
is sufficient.
Regards
Joachim