Container in Docker AutoStart nach Neustart

  • Hallo zusammen

    Mir ist aufgefallen, dass bei einem Neustart die Container wie Jellyfin, Pi-Hole sich nicht automatisch starten.
    Weiss einer wo ich das aktivieren kann?


    This image is exclusive to our members!
    Please log in or register for free to view graphics and attachments.

    DXP2800 - 2x 2TB Samsung 990 EvoPlus (Raid1) - 2x Seagate 16TB Exos (ohne Raid)

    Jellyfin - Pi-Hole - Portainer

    -- Orwell war ein Optimist --

  • Das musst du im Projekt erledigen (yaml-Datei).

    Eingerückt unter Services den Eintrag ergänzen:

    restart: always

    UGREEN DXP2800 | UGOS 1.17.0.0095 - 16GB RAM - 2x Lexar NM790 1TB Btrfs RAID1 - 2x Seagate IronWolf 4TB Btrfs RAID1
    Raspberry Pi 4B/4 | DietPi 10.5.2 (Debian Trixie) - 1x WD Red SA500
     MacBook Air M4 | macOS 26.5.2 |  mobile devices only | FRITZ!Box 7690 (OS 8.25) | Eaton Ellipse ECO 650 DIN USB USV

  • Hi!

    Wird das nicht durch den Key restart: in der Docker Compose Konfigruation gesteuert? Was steht bei dir an dieser Stelle? Bei mir steht da i.d.R. restart: unless-stopped

    Edit: Da war *kw* wohl einen Ticken schneller als wie ich ;)

    FRITZ!Box 5590 Fiber | UniFi Express 7 | 2,5-GBit-LAN & Wi-Fi 7
    DXP4800 Pro - 2x 1TB Crucial P310 NVMe RAID1 - 2x 2TB Crucial MX500 SSD RAID1 - 2x 16GB Crucial CT16G56C46S5 (5600Mhz)
    DS224+ 3TB WD Red HDD RAID1 18GB Ram | DS124 1TB Samsung 870 EVO SSD
    Linux Mint | Ubuntu-Server | Windows | iOS | iPadOS
    UGREEN.FORUM/Filebase | Synology-forum/Add-ons | GitHub.com/toafez

  • Eingerückt unter Services den Eintrag ergänzen:

    restart: always

    Danke, genau das war es

    Was steht bei dir an dieser Stelle?

    Es stand: restart: on-failure:5

    Bei Jellyfin und Pi-Hole

    Nach der Änderung auf restart: always starten beide Dienste wenn ich einen Neustart mache

    DXP2800 - 2x 2TB Samsung 990 EvoPlus (Raid1) - 2x Seagate 16TB Exos (ohne Raid)

    Jellyfin - Pi-Hole - Portainer

    -- Orwell war ein Optimist --

Participate now!

Join our community with over 10,000 members!

Register yourself now for free to get full access to all content, graphics, downloads and other exclusive features!