diff --git a/content/rancher/v2.x/en/installation/other-installation-methods/behind-proxy/launch-kubernetes/_index.md b/content/rancher/v2.x/en/installation/other-installation-methods/behind-proxy/launch-kubernetes/_index.md index d86e307d6f1..5c73de9021f 100644 --- a/content/rancher/v2.x/en/installation/other-installation-methods/behind-proxy/launch-kubernetes/_index.md +++ b/content/rancher/v2.x/en/installation/other-installation-methods/behind-proxy/launch-kubernetes/_index.md @@ -42,7 +42,7 @@ sudo usermod -aG docker YOUR_USERNAME And configure the Docker daemon to use the proxy to pull images: ``` -sudo mkdir -p mkdir /etc/systemd/system/docker.service.d +sudo mkdir -p /etc/systemd/system/docker.service.d cat <<'EOF' | sudo tee /etc/systemd/system/docker.service.d/http-proxy.conf > /dev/null [Service] Environment="HTTP_PROXY=http://${proxy_host}"