Skip to content

Instantly share code, notes, and snippets.

@lazypower
Last active March 24, 2016 23:14
Show Gist options
  • Save lazypower/02af4d7f2838c4da5498 to your computer and use it in GitHub Desktop.
Save lazypower/02af4d7f2838c4da5498 to your computer and use it in GitHub Desktop.
brew install docker-machine
brew install docker
docker-machine create -d virtualbox default
eval $(docker-machine env default)
# Create a juju2 workspace
mkdir -p $HOME/.juju2
# Dont forget to create a credentials.yaml per the 2.0 release announcement
# see: juju mailing list archives - https://lists.ubuntu.com/archives/juju/2016-February/006618.html
docker run -ti --rm --net=host \
-v $HOME/.juju2:/home/ubuntu/.local/share/juju \
-v $JUJU_REPOSITORY/trusty:/home/ubuntu/trusty \
-v $JUJU_REPOSITORY/layers:/home/ubuntu/layers \
-v $JUJU_REPOSITORY/interfaces:/home/ubuntu/interfaces \
jujusolutions/charmbox:devel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment