mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-04-15 10:55:37 +00:00
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:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user