I'll go ahead and jump into bringing up vagrant.
vagrant up
If you encountered issue regarding ‘vboxsf’, just execute the commands below.
vagrant halt
vagrant plugin install vagrant-vbguest
vagrant up
vagrant-vbguest is vagrant plugin which automatically installs the host’s VirtualBox Guest Additions on the guest system.
vagrant ssh
Once executing vagrant up is successful, execute vagrant ssh command.
cd /home/vagrant/wordpress
Go to your synced folder.
- my docker-compose.yml file
My services are database, wordpress and phpmyadmin.
docker-compose up -d
Now, go ahead and execute docker-compose up -d.
WordPress
Access wordpress in the browser thru 192.168.33.10:8080
Provide info needed. The next steps are all self-explanatory.
wordpress admin dashboard
PhpMyAdmin