Read through A Docker Dev Environment in 24 Hours! (Part 2 of 2) then come back here.
Install Virtualbox based off the installation instructions.
First, install Homebrew.
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
Install VirtualBox and Vagrant using Brew Cask.
brew tap phinze/homebrew-cask
brew install brew-cask
brew cask install virtualbox
brew cask install vagrant
git clone https://github.com/relateiq/docker_public
cd docker_public
vagrant up
After Guest Additions is in, reload the vagrant:
vagrant reload
vagrant ssh
This will pull all the images from the server and update Docker's configuration for Shipyard.
./bin/devenv update
vagrant reload
Once the server has rebooted, you should have shipyard up. The credentials are "shipyard/admin".
- Go to http://localhost:8005/hosts/ to see Shipyard's hosts.
- In the vagrant VM,
ifconfig eth0
and look for "inet addr:10.0.2.15" -- enter the IP address.
Start the devenv container:
./bin/devenv start
You should see:
➜ docker_public git:(master) ✗ ./bin/devenv start
Started ZOOKEEPER in container b7af4a32fd11
Started REDIS in container f49c9910da35
Started CASSANDRA in container 52f3233972fb
Started ELASTICSEARCH in container 802a9f1139d9
Started MONGO in container 33e5df9178a4
Started KAFKA in container d3475cfe8161
Now look at http://localhost:8005/containers/ and you should see your containers.
You're all done!