[FEAT] Optionally terminate the container when the app exits

Ouverte
#198 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
55/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
docker, shell
Domaine
desktop, devops

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Shell
Étoiles
236
Forks
37
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de linuxserver/docker-baseimage-selkies

Toutes les issues de linuxserver/docker-baseimage-selkies

Issues similaires

Plus d'issues Shell/Bash

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.