[FEAT] Optionally terminate the container when the app exits
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Shell
- Stars
- 248
- Forks
- 38
- Avg merge
- 8d 14h
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxserver/docker-baseimage-selkies
-
enhancement no-issue-activity
Difficulty 4/5 3-5 days Newbie friendliness 45/100
linuxserver/docker-baseimage-selkies#192 · 3 comments ·
All issues in linuxserver/docker-baseimage-selkies
Similar issues
-
type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
stateracloud/koinon#1614 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
data only (no code) good first issue testing
Difficulty 1/5 Under an hour Newbie friendliness 87/100
Maintainers usually reply within 1 day
-
good first issue launcher testing
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
pipeline:refined size:S type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
nightgauge/nightgauge#3792 ·
Maintainers usually reply within 1 day