I generally let my server do its thing, but I run into an issue consistently when I install system updates and then reboot: Some docker containers come online, while others need to be started manually. All containers were running before the system shut down.

  • My containers are managed with docker compose.
  • Their compose files have restart: always
  • It’s not always the same containers that fail to come online
  • Some of them depend on an NFS mount point being ready on the host, but not all

Host is running Ubuntu Noble

Most of these containers were migrated from my previous server, and this issue never manifested.

I wonder if anyone has ideas for what to look for?

  • mbirth@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    Put that mount point into the compose file(s). You can define volumes with type nfs and basically have Docker-Compose manage the mounts.