I use docker-compose in an environment that is behind a proxy. I make the proxy setting available to docker by copying the env variables to /etc/sysconfig/docker: cat /etc
cat /etc