Skip to content

Instantly share code, notes, and snippets.

@mattes
Last active August 29, 2015 14:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattes/eca1efe74dc55e8b4a92 to your computer and use it in GitHub Desktop.
Save mattes/eca1efe74dc55e8b4a92 to your computer and use it in GitHub Desktop.
Drupal Meetup 14.8.2012, @basisffm
# 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
@mattes
Copy link
Author

mattes commented Aug 14, 2014

@pocesar
Copy link

pocesar commented Sep 1, 2014

@mattes could you create a repo with all these goodness?

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