You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like docker service doesn't pick up the proxy environment vars.
uname -a
Linux myvm 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 9 10:09:10 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
systemctl show --property=Environment docker.service
Environment=
This is also a handy place to tweak where Docker's temporary files go.
TMPDIR="/tmp/"
I resolved this by adding to bottom of 'service-overrides-rhel.conf.erb':
<% if @Proxy %>Environment="HTTP_PROXY=<%= @Proxy %>" "HTTPS_PROXY=<%= @Proxy %>"<% if @no_proxy %> "NO_PROXY=<%= @no_proxy %>"<% end %><% end %>
The text was updated successfully, but these errors were encountered:
Looks like docker service doesn't pick up the proxy environment vars.
uname -a
Linux myvm 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 9 10:09:10 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
systemctl show --property=Environment docker.service
Environment=
cat /etc/sysconfig/docker
This file is managed by Puppet and local changes
may be overwritten
OPTIONS=" --ip-forward=true --iptables=true --ip-masq=true --log-driver journald --selinux-enabled=true --bip=192.168.1.1/24 --icc=false --disable-legacy-registry=true --userland-proxy=false --live-restore=true"
http_proxy='http://myproxy.url.com:80'
https_proxy='http://myproxy.url.com:80'
no_proxy='myreg.url.com,myreg.url.com'
This is also a handy place to tweak where Docker's temporary files go.
TMPDIR="/tmp/"
I resolved this by adding to bottom of 'service-overrides-rhel.conf.erb':
<% if @Proxy %>Environment="HTTP_PROXY=<%= @Proxy %>" "HTTPS_PROXY=<%= @Proxy %>"<% if @no_proxy %> "NO_PROXY=<%= @no_proxy %>"<% end %><% end %>
The text was updated successfully, but these errors were encountered: