Mastodon Mastodon - Docker and proxies
 logo
  • Home 
  • Tags 
  • Blog posts 
  1. Home
  2. Blog posts
  3. Docker and proxies

Docker and proxies

Posted on July 15, 2015  (Last modified on March 9, 2022) • 1 min read • 79 words
Docker  
Docker  
Share via

… so I don’t forget.

“docker pull” will not use the HTTP_PROXY variable. Why? Because “docker” is just the cli program which tells the daemon what to do. And the daemon probably does not know about the variable if just set in the terminal.

So, what to do to make docker use it described pretty well here: https://docs.docker.com/articles/systemd/#http-proxy

Next thing: Don’t forget to go “systemctl daemon-reload”, because otherwise this will not be effective, even with “systemctl restart docker”.

Done.

 Get SSL certificate from endpoint quickly
Puppet Quiz: What’s wrong here? 
In case you want to follow me

Here are some links. The further to the right, the less active.

           
(c) Axel Bock | Powered by Hinode.
Code copied to clipboard
Link copied to clipboard