containers / containers/podman-compose
Support YAML keys "post_start" (and "pre_stop") from Docker Compose
- Dominant language
- Python
- Stars
- 6.2k
- Forks
- 622
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
I have a `docker-compose.yml` setup and some commands need to be run after containers have started. Since version 2.30.0 Docker Compose offers `post_start` to run commands after container startup.
Spec: https://docs.docker.com/compose/how-tos/lifecycle/#post-start-hooks
**Describe the solution you'd like**
Implement `post_start` (and probably also `pre_stop`) like Docker Compose does.
**Describe alternatives you've considered**
For me this is a blocker to switch from Docker to Podman in this setup although I generally prefer Podman.
**Additional context**
Add any other context or screenshots about the feature request here.
Contributor guide
Assessment
This issue has not been assessed yet.