Created
May 4, 2015 10:35
-
-
Save K0NRAD/f6c70be0e2ba143d5788 to your computer and use it in GitHub Desktop.
Use Boot2Docker on OSX from behind a proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start boot2docker | |
... | |
boot2docker ssh | |
... | |
# Open/create profile file with vi | |
sudo vi var/lib/boot2docker/profile | |
... | |
# Insert two entries with proxy access data | |
export http_proxy=http://username:password@xxx.xxx.xxx.xxx:8080 | |
export https_proxy=http://username:password@xxx.xxx.xxx.xxx:8080 | |
# Save profile and exit vi | |
<ESC>:wq<Enter> | |
... | |
# Restart boot2docker and exit ssh terminal | |
sudo /etc/init.d/docker restart | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment