docker container not starting at boot

  • The docker containers installed through the repo is starting at boot, but the ones i have installed through the command line does not. Even tho they work perfectly fine when they are up running, they don't come up after a reboot.

    Only one is added with --restart unless-stopped \

    The others are not.

    EDIT: Adding --restart unless-stopped \ to one other container solved it. It is weird tho because one does not have this enviroment variable and that one does start at boot.

    Edited once, last by Tahurel (May 28, 2024 at 7:15 PM).

  • For cli created containers, restart argument determines whether containers are started by the docker daemon on boot or not.


    The addons are different because they ate started by systemd, not the docker daemon.

  • I have one cli created container that does start at boot without the restart argument. It's autobrr for the record.

    Which is kinda odd, and i installed that one first, otherwise it would have been somewhat "obvious" that the restart argument is requierd.