-
-
Save sashadev-sky/db2f494ec63bd59d078f7229ed5e1f00 to your computer and use it in GitHub Desktop.
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 characters
brew cask install virtualbox | |
brew install docker docker-machine | |
# create the vm | |
docker-machine create -d virtualbox dev | |
# If seeing: | |
# (dev) No default Boot2Docker ISO found locally, downloading the latest release... | |
# Error with pre-create check: "failure getting a version tag from the Github API response (are you getting rate limited by Github?)" | |
# then: | |
curl -Lo ~/.docker/machine/cache/boot2docker.iso https://github.com/boot2docker/boot2docker/releases/download/v1.9.1/boot2docker.iso | |
docker-machine create --driver virtualbox default | |
# import environment variables for the docker-cli | |
eval "$(docker-machine env dev)" | |
docker run hello-world |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment