Skip to content

Instantly share code, notes, and snippets.

@ericboehs
Last active March 14, 2017 16:55
Show Gist options
  • Save ericboehs/53920ead00a6072ce979 to your computer and use it in GitHub Desktop.
Save ericboehs/53920ead00a6072ce979 to your computer and use it in GitHub Desktop.
Install Docker on El Capitan
# 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)"
@ericboehs
Copy link
Author

You'll also probably want docker machine to start each time your machine does. See https://gist.github.com/ericboehs/45e2f2e349249b8253a2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment