Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdub/boot2docker-vagrant
A Vagrant boot2docker environment
https://github.com/mdub/boot2docker-vagrant
Last synced: about 2 months ago
JSON representation
A Vagrant boot2docker environment
- Host: GitHub
- URL: https://github.com/mdub/boot2docker-vagrant
- Owner: mdub
- Created: 2014-09-29T05:24:39.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-29T05:24:58.000Z (about 10 years ago)
- Last Synced: 2023-04-13T04:02:22.361Z (over 1 year ago)
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# localdocker
This is a Vagrant-based boot2docker VM, for local development.
It uses a custom boot2docker image with VirtualBox extensions installed,
allowing sharing of directories (and therefore Docker volumes) with the
underlying host.## Prerequisites
Vagrant. VirtualBox.
## Usage
Type `vagrant up` to bring the VM up.
The VM gets IP address 192.168.66.3. Any mapped ports should be visible on that address (rather than localhost). You might also wish to set up an entry in `/etc/hosts`:
192.168.66.3 boot2docker
To communicate with the Docker daemon from your host machine, set:
$ export DOCKER_HOST=tcp://192.168.66.3:4243
Your home directory will be shared with the VM, so mapping volumes should mostly work, as long as they're within $HOME.