3 ms·
You can combine it with Vagrant as well. I used to use Vagrant with Virtualbox, but using the Docker provider, the development is much faster. The config files
by zoner 12y ago
You can combine it with Vagrant as well. I used to use Vagrant with Virtualbox, but using the Docker provider, the development is much faster. The config files we are using is public and open source: https://github.com/czettnersandor/vagrant-docker-lamp https://github.com/czettnersandor/vagrant-docker-lamp
However, if you don't have Linux, Vagrant can start a Virtualbox image with Linux and run Docker in it with a little modification in the Vagrantfile
- iqster 12y agoHow do you turn off the VM that is hosting the dockers? I.e. when none are running? Btw, I found the vagrant documentation for the docker provider to be a bit lacking. I probably wasted a day getting it to work :(
- jhorey 12y agoIf you're using Vagrant, you'll have to manually shut off the VM via `vagrant halt`. If you're just trying to get started with Docker, Boot2Docker (https://github.com/boot2docker/boot2docker https://github.com/boot2docker/boot2docker) is probably the way to go. If you're looking for an Ubuntu-based Vagrant box, you can try out my Vagrant box (http://ferry.opencore.io/en/latest/install.html#os-x http://ferry.opencore.io/en/latest/install.html#os-x). It's based off of 14.04. Be warned though, my box is very large (~4GB) as it contains many pre-baked images (Hadoop, Cassandra, etc.).
- iqster 12y agoThanks. Where do I issue vagrant halt (i.e. which folder)? The workaround I found was to go virtualbox directly and issue a poweroff. Not clean at all :(