K0NRAD
5/4/2015 - 10:35 AM

Use Boot2Docker on OSX from behind a proxy

Use Boot2Docker on OSX from behind a proxy

# 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