Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pokle/dockbox

A vagrant box configured with Docker so that you can run the docker client from your Mac
https://github.com/pokle/dockbox

Last synced: 10 days ago
JSON representation

A vagrant box configured with Docker so that you can run the docker client from your Mac

Awesome Lists containing this project

README

        

A Docker Vagrant box that's configured to be used from your Mac

Go
===

Install Virtualbox, Vagrant and Homebrew

- https://www.virtualbox.org/
- http://www.vagrantup.com
- http://brew.sh

Install Docker on your Mac using Homebrew

brew update
brew install docker

Start up a VM running Ubuntu with Docker installed:

git clone https://github.com/pokle/dockbox.git
cd dockbox
vagrant up

On your Mac, use the bundled docker client:

export DOCKER_HOST=tcp://192.168.8.8
docker version

And since you're brave:

echo export DOCKER_HOST=tcp://192.168.8.8 >> ~/.bashrc

What does all that do?
======================
Take a look at the Vagrantfile - https://github.com/pokle/dockbox/blob/master/Vagrantfile

Trouble?
========

If your first 'vagrant up' times out, don't panic. It's still installing. If something fails, and you want to re-try installing, try:

vagrant provision

If you want to upgrade your version of Docker

vagrant ssh
sudo aptitude dist-upgrade lxc-docker

To uninstall (deletes the VM, and all your work on the VM - images, containers, etc.)

vagrant destroy

Alternatives

- http://www.siliconfidential.com/articles/docker-coreos-osx/