How to Replicate --exit-code-from, --abort-on-container-exit, and --remove-orphans in podman play kube? #25880
Unanswered
HarryPommier
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi everyone,
I recently migrated from Docker to Podman and have been working on converting my docker-compose setup to use podman play kube.
I'm trying to replicate the behavior of the following Docker Compose command:
docker compose up --exit-code-from my-service --abort-on-container-exit --remove-orphans my-service
However, I’m having trouble finding the equivalents for the following flags when using podman play kube:
--exit-code-from
--abort-on-container-exit
--remove-orphans
Is there a recommended way to achieve this behavior with Podman and Kubernetes YAML? Any workarounds or best practices would be appreciated!
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions