[FEAT] Optionally terminate the container when the app exits

Abierto
#198 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
docker, shell
Área
desktop, devops

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Shell
Estrellas
236
Forks
37
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de linuxserver/docker-baseimage-selkies

Todos los issues de linuxserver/docker-baseimage-selkies

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.