Skip to content

Instantly share code, notes, and snippets.

@shanesveller
Created July 17, 2014 16:48
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 shanesveller/51d7f5de77a2672f71f0 to your computer and use it in GitHub Desktop.
Save shanesveller/51d7f5de77a2672f71f0 to your computer and use it in GitHub Desktop.
Shipyard on OSX - 2014-07-17

Within OSX

brew cask install boot2docker
boot2docker init
boot2docker up
boot2docker ssh

Within Boot2docker

docker run -i -t -v /var/run/docker.sock:/docker.sock shipyard/deploy setup
docker run -i -t -v /var/run/docker.sock:/docker.sock \
  -e IP=`ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{print $1;}'` \
  -e URL=http://$BOOT2DOCKERIP:8000 -p 4500:4500 shipyard/agent

Within OSX again

boot2docker ssh -NCL 8000:localhost:8000

Visit http://localhost:8000/, login with admin/shipyard

@jdoconnor
Copy link

VBoxManage controlvm boot2docker-vm natpf1 "shipyard,tcp,127.0.0.1,8000,,8000" will forward the port on the VM

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