fix README instructions

pull/7/head
ricardop 2018-07-04 11:40:33 +02:00
parent dab5f4f1df
commit 296bffc911
No known key found for this signature in database
GPG Key ID: 3D38CA12A66C5D02
1 changed files with 2 additions and 1 deletions

View File

@ -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