I was trying to bootstrap while relying on an outbound http proxy, but the bootstrapping script didn’t honor the proxy settings. I created the following file to tell docker to use the a proxy:
$ cat /etc/systemd/system/docker.service.d/docker-http-proxy.conf [Service] Environment="HTTP_PROXY=http://proxy.example.com:8118" "NO_PROXY=localhost,127.0.0.1"
This allowed the first steps in the bootstrapping to succeed, but the bootstrapping failed when it tried to clone pups.git from github.com. Due to the locally enforced firewall, the connection to github.com was refused.
I’m pretty sure that I had the HTTP_PROXY environment variable and the system-wide git configuration set too.
I’ve since opened up http/s outbound ports, but was hoping that I could bootstrap in a somewhat more restricted environment. Any thoughts about how to encourage the bootstrapping process to use an http proxy?