How to bootstrap systemd when using a podman-in-podman setup? #622
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am running the gitea runner directly (so, not through a container). The tasks are running on container, and many of these tasks are to build podman containers or to run them using podman-compose. The problem I am facing is: For podman to be able to assess the health of the containers, it needs systemd running. I have thought in extending my container image to execute
CMD [ "/sbin/init" ]
, but this would be overwritten by the commands issued when the container gets created (I see in the create stage the entrypoint and the cmd are fixed, one of them to a sleep).How can this be worked out?