Docker points not mount after host reboot
I run various docker containers through docker-compose up -d
and they all have restart flags always on.
When I reboot the host machine (Windows 10 Pro), the containers restart, but it seems that the volumes are not mounted. I know this because I save the config files to the mounted volume and the services start the initial setup screen when I go to the web pages, for example plex is to start a new server. When I run stop stop stop and then docker-compose up -d
they set volumes and use the correct config files. Is there any difference in how to start loading containers on reboot or docker?
source to share
For host based volumes, it is a known issue that volumes are not available immediately after reboot: https://github.com/docker/for-win/issues/584#issuecomment-286792858
I recommend using non-host volumes or other workarounds.
source to share