[FEAT] Optionally terminate the container when the app exits

Aperta
#198 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, shell
Ambito
desktop, devops

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Shell
Stelle
236
Fork
37
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxserver/docker-baseimage-selkies

Tutte le issue di linuxserver/docker-baseimage-selkies

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.