From 296bffc911b3d6929ccb1f07e05cd976464ac817 Mon Sep 17 00:00:00 2001 From: ricardop Date: Wed, 4 Jul 2018 11:40:33 +0200 Subject: [PATCH] fix README instructions --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cc941dd..50a3314 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ Do it all at once, tested on Ubuntu Xenial, which is systemd based: ```bash # Add environment vars pointing Docker to use the proxy +mkdir -p /etc/systemd/system/docker.service.d cat << EOD > /etc/systemd/system/docker.service.d/http-proxy.conf [Service] Environment="HTTP_PROXY=http://192.168.66.72:3128/" @@ -55,7 +56,7 @@ EOD # Get the CA certificate from the proxy and make it a trusted root. curl http://192.168.66.72:3128/ca.crt > /usr/share/ca-certificates/docker_registry_proxy.crt -echo "docker-registry-proxy.crt" >> /etc/ca-certificates.conf +echo "docker_registry_proxy.crt" >> /etc/ca-certificates.conf update-ca-certificates --fresh # Reload systemd