Skip to content
/ dockbox Public

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

Notifications You must be signed in to change notification settings

pokle/dockbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

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

Go

Install Virtualbox, Vagrant and Homebrew

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published