-
-
Save giserh/c93c669235a0af38bf19 to your computer and use it in GitHub Desktop.
Revisions
-
hrldcpr renamed this gist
Jul 30, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
hrldcpr created this gist
Jul 30, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ First, install [VirtualBox](https://www.virtualbox.org/wiki/Downloads). Then: ```bash brew update brew upgrade brew install docker boot2docker mkdir ~/.boot2docker curl http://static.dockerfiles.io/boot2docker-v1.1.2-virtualbox-guest-additions-v4.3.12.iso \ > ~/.boot2docker/boot2docker.iso # (get the URL of the latest ISO at # https://medium.com/boot2docker-lightweight-linux-for-docker/boot2docker-together-with-virtualbox-guest-additions-da1e3ab2465c) boot2docker init VBoxManage sharedfolder add boot2docker-vm --name home --hostpath /Users --readonly echo 'export DOCKER_HOST=tcp://$(boot2docker ip 2>/dev/null):2375' \ >> ~/.profile # or if you're using fish: # echo 'set -x DOCKER_HOST tcp://(boot2docker ip 2>/dev/null):2375' \ # >> ~/.config/fish/config.fish ```