Last active
August 28, 2015 19:28
-
-
Save johnallen3d/3f6aee5d6868671b414f to your computer and use it in GitHub Desktop.
Script to migrate from boot2docker to docker-machine
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
# update homebrew | |
brew update | |
# install cask (if necessary) | |
brew install caskroom/cask/brew-cask | |
# or update cask | |
brew update cask | |
# create a dev machine that is a copy of the boot2docker image | |
docker-machine \ | |
-D \ | |
create \ | |
-d virtualbox \ | |
--virtualbox-import-boot2docker-vm boot2docker-vm \ | |
--virtualbox-cpu-count "4" \ | |
--virtualbox-disk-size "80000" \ | |
--virtualbox-memory "8192" \ | |
dev | |
# configure shell (locally or in bashrc/zshrc etc) | |
eval $(docker-machine env dev) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment