Vagrant.configure("2") do |config| config.vm.provider "docker" do |d| d.image = "mysql:8.0.28" config.vm.synced_folder "~/mysql", "/var/lib/mysql", docker_consistancy: "delegated" d.privileged = "true" d.ports = ["3306:3306"] d.env = { "MYSQL_USER":"root", "MYSQL_ALLOW_EMPTY_PASSWORD":"yes", "MYSQL_DATABASE":"crusadetracker" } end end