You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker-compose supports post_start and pre_down hooks as of Docker compose 2.30.0. If podman-compose aims to have feature parity these would be nice to have there as well.
Suggest potential solution
Given a post_start entry which conforms to the Docker Compose spec, exec this command in the container after it starts.
Given a pre_down entry which conforms to the Docker Compose spec, exec this command in the container before it goes down.
Have you considered any alternatives?
This can be worked around with a custom script but given it's a feature defined in the Docker Compose spec, it would be nice to have native support in podman-compose.
Additional context
No response
The text was updated successfully, but these errors were encountered:
You can use docker-compose against the podman service, podman-compose is not maintained or directly supported by the podman developers. so you need to ask podman-compose to implement this. https://github.com/containers/podman-compose/
Feature request description
docker-compose supports
post_start
andpre_down
hooks as of Docker compose 2.30.0. If podman-compose aims to have feature parity these would be nice to have there as well.Suggest potential solution
post_start
entry which conforms to the Docker Compose spec,exec
this command in the container after itstart
s.pre_down
entry which conforms to the Docker Compose spec,exec
this command in the container before it goesdown
.Have you considered any alternatives?
This can be worked around with a custom script but given it's a feature defined in the Docker Compose spec, it would be nice to have native support in
podman-compose
.Additional context
No response
The text was updated successfully, but these errors were encountered: