Last active
March 14, 2017 16:55
-
-
Save ericboehs/53920ead00a6072ce979 to your computer and use it in GitHub Desktop.
Install Docker on El Capitan
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
# Ensure you have brew cask installed http://caskroom.io | |
brew install caskroom/cask/brew-cask | |
# Install Docker Toolbox (this will install docker machine and virtualbox) | |
brew cask install dockertoolbox | |
# Create a linux machine for docker container to run on | |
docker-machine create --driver virtualbox default | |
# Add ENV variables for the machine to your profile (and restart your terminal) | |
echo 'eval "$(docker-machine env default)"' >> ~/.bashrc | |
# If you didn't restart your terminal, run this now: | |
eval "$(docker-machine env default)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'll also probably want docker machine to start each time your machine does. See https://gist.github.com/ericboehs/45e2f2e349249b8253a2.