revinfrastruct / dev-environment

Sets up a number of docker containers to get started with our projects
0 stars 0 forks source link

Proxy settings needed for NPM #1

Open supernaut opened 8 years ago

supernaut commented 8 years ago

I can't start the Docker box on a machine behind a proxy. I need to be able to set up proxy when it's needed.

alfreddatakillen commented 8 years ago

What is your host machine OS? On Ubuntu, you can add export statements to /etc/default/docker which will add environment variables to your containers. Like this:

export HTTP_PROXY="http://myproxy.example.com:8080"
export HTTPS_PROXY="https://myproxy.example.com:8080"
supernaut commented 8 years ago

OS X 10.11.5 (15F34). Vill try that. :)