I’m having an issue running my docker containers in windows with restart=always.
Basically let’s say I have a sonarr container with a /config volume with its config. When I restart my computer the container starts but sonarr is empty, it didn’t load the config from /config. If I console into the container I can go to /config and see all the files/folders in /config and it matches my windows filesystem. If I do a mkdir the folder shows in the console but not in my windows filesystem so there is clearly a disconnect.
What is strange is if I manually restart the container (docker restart sonarr) it loads the /config and everything is fine. So I mean the data is there nothing is lost but the data isn’t loaded.
if I don’t use restart=always and just start the container manually, no issues everything loads fine.
docker run --privileged -d
-e PUID=0 -e PGID=0