Skip to content

Commit 296bffc

Browse files
author
ricardop
committed
fix README instructions
1 parent dab5f4f commit 296bffc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Do it all at once, tested on Ubuntu Xenial, which is systemd based:
4747

4848
```bash
4949
# Add environment vars pointing Docker to use the proxy
50+
mkdir -p /etc/systemd/system/docker.service.d
5051
cat << EOD > /etc/systemd/system/docker.service.d/http-proxy.conf
5152
[Service]
5253
Environment="HTTP_PROXY=http://192.168.66.72:3128/"
@@ -55,7 +56,7 @@ EOD
5556

5657
# Get the CA certificate from the proxy and make it a trusted root.
5758
curl http://192.168.66.72:3128/ca.crt > /usr/share/ca-certificates/docker_registry_proxy.crt
58-
echo "docker-registry-proxy.crt" >> /etc/ca-certificates.conf
59+
echo "docker_registry_proxy.crt" >> /etc/ca-certificates.conf
5960
update-ca-certificates --fresh
6061

6162
# Reload systemd

0 commit comments

Comments
 (0)