Last active
August 29, 2015 14:07
-
-
Save wwestenbrink/4e05da8b664a8181b051 to your computer and use it in GitHub Desktop.
Build & install boot2docker image from source
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
docker build -t user/boot2docker . | |
ID=$(docker run -itd user/boot2docker /bin/bash) | |
docker cp $ID:boot2docker.iso image | |
docker kill $ID |
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
boot2docker stop | |
mv image/boot2docker.iso ~/.boot2docker/boot2docker.iso | |
VBoxManage sharedfolder add boot2docker-vm -name /Users -hostpath /Users | |
boot2docker start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment