I have a Vagrant virtualbox which hosts a Docker container. The host machine has a folder which needs to be accessible in the vm and the container:
Host: /host/p
I can confirm I have the same issues regarding reboots that do not run the provisioning.
This happens because when the docker daemon is brought up after a reboot, the synced folder source is still empty (that is, the folder syncing phase runs after docker is launched at startup).
Another option I found is to simply restart the docker service in the host with sudo service docker restart
.