Ubuntu16.04-based Virtualbox VM prepared for development with Docker.
It uses Virtualbox and Vagrant to create and provision a virtual machine. The machine has docker with docker-compose. It additionally has PHP7.2
This Vagrantfile uses vagrant-disksize
plugin. To install the plugin use the
following command
vagrant plugin install vagrant-disksize
-
Copy
Vagrantfile.dist
toVagrantfile
and customize the variables inVagrantfile
HOST_PROJECTS_PATH
- path of the shared folder on the host machineVM_PROJECTS_PATH
- path of the shared folder on the VMVM_IP
- IP address of the VM
-
Add the IP of the VM to your
/etc/hosts
-
Run:
vagrant up
to simply start Vagrantvagrant halt
to stop Vagrant