Vagrant Docker - Light Generic User Environment
A Vagrantfile for creating a development Docker host with CLI-based templating support.
- Vagrant
- boilr
Usage (boilr)
Download boilr
and install to /home/bin
or /usr/local/bin
.
boilr template download dmstr/vado-ligure vado
If you need to update an existing template, use
boilr template download -f dmstr/vado-ligure vado
boilr template use vado dev1
Go to dev1
and initialize the virtual machine
cd dev1
sh init.sh
Note! If you have NFS as the shared folder type, you may have to enter your password
Setup environment
eval $(docker-machine env dev1)
For fast access, you can create an alias in your profile, like
alias vadovm='VAGRANT_CWD=<PATH-TO>/dev1 vagrant'
Get the source from a git clone
and go to its root folder cd vado-ligure
.
After changing the template, save a dev version
boilr template save -f . vadodev
Check all your Vagrant VMs
vagrant global-status