How to Auto Start dockers containers? [SOLVED]

  • I installed plex and transmission in the docker of my OMV 5 in my debian buster, but every time my server does autoshutdown and the next day it turns on again, my dockers do not start and I have to go to the portainer and manually activate the transmission and plex containers... X/


    Is there any automatic way that the docker containes starts whenever the server is turned on?

    MAINROUTER:
    Raspberry PI 4 - OpenWRT
    𝗦𝗲𝗿𝘃𝗲𝗿 𝗢𝗠𝗩5 (Debian 10 Buster):
    Optiplex 7010
    CPU:
    Intel Core i3-3225
    Ram: 8gb,
    Kernel: x86_64 Linux 5.10.0-0.bpo.12-amd64
    OMV: 5.x Usul
    Docker: 5.x~debian-buster
    Portainer: 2.11.1
    Containers: Heimdall, Duplicati, qBitorrent, Scrutinity, Smokeping, Speedtest, Node-Exporter, Prometheus, Cadvisor, Grafana
    disk 1 - SSD 128gb
    partition sda1 / = 10gb
    partition sda5 swap = 4gb

    disk 2 HDD 4tb
  • What restart policy did you set on the containers when you created them?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • mmm dont really dont know... look here got a screenshoot


    forum.openmediavault.org/wsc/index.php?attachment/19327/

    Bilder

    MAINROUTER:
    Raspberry PI 4 - OpenWRT
    𝗦𝗲𝗿𝘃𝗲𝗿 𝗢𝗠𝗩5 (Debian 10 Buster):
    Optiplex 7010
    CPU:
    Intel Core i3-3225
    Ram: 8gb,
    Kernel: x86_64 Linux 5.10.0-0.bpo.12-amd64
    OMV: 5.x Usul
    Docker: 5.x~debian-buster
    Portainer: 2.11.1
    Containers: Heimdall, Duplicati, qBitorrent, Scrutinity, Smokeping, Speedtest, Node-Exporter, Prometheus, Cadvisor, Grafana
    disk 1 - SSD 128gb
    partition sda1 / = 10gb
    partition sda5 swap = 4gb

    disk 2 HDD 4tb
  • You have the restart policy set to Never. Change that to Unless stopped then start the containers.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • THANKS!!! its perfect

    MAINROUTER:
    Raspberry PI 4 - OpenWRT
    𝗦𝗲𝗿𝘃𝗲𝗿 𝗢𝗠𝗩5 (Debian 10 Buster):
    Optiplex 7010
    CPU:
    Intel Core i3-3225
    Ram: 8gb,
    Kernel: x86_64 Linux 5.10.0-0.bpo.12-amd64
    OMV: 5.x Usul
    Docker: 5.x~debian-buster
    Portainer: 2.11.1
    Containers: Heimdall, Duplicati, qBitorrent, Scrutinity, Smokeping, Speedtest, Node-Exporter, Prometheus, Cadvisor, Grafana
    disk 1 - SSD 128gb
    partition sda1 / = 10gb
    partition sda5 swap = 4gb

    disk 2 HDD 4tb
  • roycordero

    Hat das Label gelöst hinzugefügt.
  • roycordero

    Hat den Titel des Themas von „How to Auto Start dockers containers? [HELP]“ zu „How to Auto Start dockers containers? [SOLVED]“ geändert.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!