If you're running MacOS, you can boost Docker performance with Vagrant. If you want more information, read this Medium article.
Create a config file Vagrantfile from Vagrantfile.template
cp Vagrantfile.template VagrantfileIn Vagrantfile, update VM_HOST_PATH with the local project path of your machine.
#VM_HOST_PATH# => your local machine path to the project
(run pwd and copy the path in this variable)
To start your VM Vagrant, run:
Vagrant upTo connect to your VM, run:
Vagrant sshTo start project environment, run:
docker-compose upYour environment runs inside your Vagrant virtual machine. When you want stop your VM, you can run:
Vagrant haltIf you want to destroy the VM, you can run:
Vagrant destroyVagrant up: start your VM Vagrant.Vagrant reload: reload your VM Vagrant when you change Vagrantfile.Vagrant ssh: connect on your VM Vagrant.Vagrant halt: stop your VM Vagrant.Vagrant destroy: delete your VM Vagrant.