Last active
August 29, 2015 14:05
-
-
Save mattes/eca1efe74dc55e8b4a92 to your computer and use it in GitHub Desktop.
Drupal Meetup 14.8.2012, @basisffm
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
# download and install VirtualBox | |
# see https://www.virtualbox.org/wiki/Downloads | |
# install docker and boot2docker | |
brew install docker | |
brew install boot2docker | |
# use custom boot2docker.iso | |
# see https://medium.com/boot2docker-lightweight-linux-for-docker/boot2docker-together-with-virtualbox-guest-additions-da1e3ab2465c | |
mv ~/.boot2docker/boot2docker.iso ~/.boot2docker/boot2docker.iso.backup | |
curl http://static.dockerfiles.io/boot2docker-v1.1.2-virtualbox-guest-additions-v4.3.12.iso > ~/.boot2docker/boot2docker.iso | |
# install fig | |
# see http://www.fig.sh | |
curl -L https://github.com/docker/fig/releases/download/0.5.2/darwin > /usr/local/bin/fig | |
chmod +x /usr/local/bin/fig | |
# init (creates virtual machine) and start boot2docker | |
boot2docker init | |
boot2docker up | |
# export DOCKER_HOST | |
# optional, but cool: set localdocker record in /etc/hosts | |
# see https://github.com/mattes/dotfiles/blob/master/home/bash/src/functions/docker.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Short URL: http://git.io/QpHONQ