Created
June 25, 2014 15:02
-
-
Save tomstuart/8a4ec2a53b12fa122a49 to your computer and use it in GitHub Desktop.
Setting up boot2docker for use with fig
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
$ mkdir ~/.boot2docker | |
$ curl http://static.dockerfiles.io/boot2docker-v1.0.0-virtualbox-guest-additions-v4.3.12.iso > ~/.boot2docker/boot2docker.iso | |
$ boot2docker init | |
$ VBoxManage sharedfolder add boot2docker-vm -name home -hostpath /Users | |
$ boot2docker up | |
$ sudo sh -c "echo `boot2docker ip 2>/dev/null` boot2docker >> /etc/hosts" | |
$ echo export DOCKER_HOST=tcp://$(boot2docker ip 2>/dev/null):2375 >> .bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment