Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pokle/dockbox
- Owner: pokle
- Created: 2014-01-22T10:41:44.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-11T13:08:08.000Z (over 10 years ago)
- Last Synced: 2023-03-11T00:19:12.276Z (over 1 year ago)
- Size: 6.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.shInstall Docker on your Mac using Homebrew
brew update
brew install dockerStart up a VM running Ubuntu with Docker installed:
git clone https://github.com/pokle/dockbox.git
cd dockbox
vagrant upOn 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/VagrantfileTrouble?
========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-dockerTo 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/