No option to disable --rm flag in container Quadlet unit #27591
NotSoFancyName
started this conversation in
Ideas
Replies: 1 comment
-
|
dup of #19620 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Right now it is possible to add any arguments which are not supported in the list of the container quadlet unit by using
PodmanArgs=andGloabalArgs=, but it is not possible to disable--rmflag that is being added to theExecStart=by Quadlet generator. I think it might make sense since there is an example withRemainAfterExit=yesand somebody might wnat to check the logs in the container withpodman logs <container>or to access some artificat inside, etc.I also wonder if it makes some people to expect the container not be removed and rely on some artificats inside that were generated during previos container run, so not
runthe container butstartexited container. It might make sense to splitExecStart=podman run....intoExecPre=-/bin/podman create...andExecStart=/bin/podman start...so it is possible for the unit to start exited container.Maybe I completely misunderstand the concept behind the quadlets that was put into them...
I would like to know what you think about this
Beta Was this translation helpful? Give feedback.
All reactions