brew update
brew install caskroom/cask/brew-cask
brew cask install boot2docker
brew install figOptionally, you can use direnv to automatically set some environment variables, sourced from .envrc:
brew install direnv
direnv allow .boot2docker init
boot2docker upgrade
boot2docker up
docker version
docker psFrom the root of the repository:
fig pull && fig build
fig up -dcurl http://`boot2docker ip 2>/dev/null`:8500/v1/catalog/servicesopen "http://`boot2docker ip 2>/dev/null`/"fig scale app=4
fig scale app=1- The auto-detected advertise IP for Consul-in-Docker on Boot2docker does not appear to be routable from the Nginx container. Use the following to look up the IP to set for
-advertise:
boot2docker ssh ifconfig eth0 | grep 'inet addr'