Comment on Some docker containers need manual start after host reboot
CameronDev@programming.dev 3 weeks ago
Can you make your docker service start after the NFS Mount to rule that out?
A restart policy only takes effect after a container starts successfully. In this case, starting successfully means that the container is up for at least 10 seconds and Docker has started monitoring it. This prevents a container which doesn’t start at all from going into a restart loop.
docs.docker.com/…/start-containers-automatically/…
If your containers are crashing before the 10 timeout, then they won’t restart.
OneCardboardBox@lemmy.sdf.org 3 weeks ago
Yep, the problem was that docker started before the NFS mount. Adding the dependency to my systemd docker unit did the trick!
CameronDev@programming.dev 3 weeks ago
Excellent, thanks for the update!