[FEAT] Optionally terminate the container when the app exits

Offen
#198 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
docker, shell
Bereich
desktop, devops

Rechercherichtung

Start by locating the RESTART_APP=true logic mentioned in the issue and tracing how the main app’s exit is handled. Work out how an optional setting could terminate the container after that exit, then check the existing behavior and tests for regressions; done means the container exits when the setting is enabled and the app closes.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement
Is this a new feature request?
  • I have searched the existing issues
Wanted change

I'm using your linuxserver/docker-chromium container to spin up an ephemeral container. I want the container to terminate when I close the main app (in my case chromium).

I believe the logic currently in use for RESTART_APP=true could be adapted for this feature.

Reason for change

I start the container on-demand and would like to be able to automatically clean it up when I close the app within.

Proposed code change

No response

Vorherrschende Sprache
Shell
Sterne
236
Forks
37
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus linuxserver/docker-baseimage-selkies

Alle Issues in linuxserver/docker-baseimage-selkies

Ähnliche Issues

Weitere Issues zu Shell/Bash

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.