Merge "Fix docker daemon proxy support in vagrant"
This commit is contained in:
commit
92bf9dd5dc
@ -127,8 +127,7 @@ EOF
|
||||
mkdir -p /etc/systemd/system/docker.service.d
|
||||
cat >/etc/systemd/system/docker.service.d/http-proxy.conf <<-EOF
|
||||
[Service]
|
||||
Environment="HTTP_PROXY=${http_proxy}" "HTTPS_PROXY=${https_proxy}"
|
||||
"NO_PROXY=localhost,127.0.0.1,${REGISTRY_URL}"
|
||||
Environment="HTTP_PROXY=${http_proxy}" "HTTPS_PROXY=${https_proxy}" "NO_PROXY=localhost,127.0.0.1,${REGISTRY_URL}"
|
||||
EOF
|
||||
|
||||
if [[ "$(grep http_ /etc/bashrc)" == "" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user