Skip to content

Instantly share code, notes, and snippets.

@bufordtaylor
Forked from ericboehs/install.sh
Created October 27, 2016 16:50
Show Gist options
  • Save bufordtaylor/98ca0ffcaea2e42927f32ed5fdf67d2d to your computer and use it in GitHub Desktop.
Save bufordtaylor/98ca0ffcaea2e42927f32ed5fdf67d2d 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)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment