I'll go ahead and jump into bringing up vagrant.

Alt Text

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.

Alt Text

  • my docker-compose.yml file

My services are database, wordpress and phpmyadmin.

Alt Text

docker-compose up -d

Now, go ahead and execute docker-compose up -d.

WordPress

Alt Text

Access wordpress in the browser thru 192.168.33.10:8080

Alt Text

Provide info needed. The next steps are all self-explanatory.

Alt Text

Alt Text

wordpress admin dashboard

Alt Text

PhpMyAdmin

Alt Text

Alt Text