remove single quotes from 'EOF' here doc delimiter

Removing single quotes from EOF here doc delimiter for command creating docker.service.d/http-proxy.conf.  With the quotes present, the variable ${proxy_host} is not substituted.
This commit is contained in:
nscarlettwolf
2021-07-07 08:38:07 -04:00
committed by GitHub
parent 85456170c8
commit d7cb2fe13a

View File

@@ -43,7 +43,7 @@ And configure the Docker daemon to use the proxy to pull images:
```
sudo mkdir -p /etc/systemd/system/docker.service.d
cat <<'EOF' | sudo tee /etc/systemd/system/docker.service.d/http-proxy.conf > /dev/null
cat <<EOF | sudo tee /etc/systemd/system/docker.service.d/http-proxy.conf > /dev/null
[Service]
Environment="HTTP_PROXY=http://${proxy_host}"
Environment="HTTPS_PROXY=http://${proxy_host}"