-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Podman emits a died event instead of die event when container stops #10168
Comments
We haven't really made solid promises about Events matching exactly, and we already have a number of apps (Cockpit notably) using the existing Died event, so I don't think we can change at this point. Maybe a Podman 4.0 thing next year? Changing it in the Compat API does seem reasonable as a solution for the moment. |
In order to be more compatible with Docker, we should return a container die status rather then a "container died", Too late to change this for Podman. Partially fixes: containers#10168 [NO TESTS NEEDED] No easy way to test this. Signed-off-by: Daniel J Walsh <[email protected]>
Reopening given we didn't fix this fully - just the API bit. |
@davemulford What do you think? Is changing the API good enough. I think the died reads better in Podman the container die. |
Since we did not get a response, I take it as it is good enough. Closing. |
Since containers#10168, on the event "died", the Status is set to "die" for compatibility with the Docker API. Docker also sets the field Action to "died", so do the same here. Signed-off-by: Leah Neukirchen <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When a container is stopped, podman emits a
died
event. This is incompatible with Docker that emits adie
event.Steps to reproduce the issue:
died
event is generated.Describe the results you received:
Podman generated a
died
event.Describe the results you expected:
I'd expect to see a
die
event.Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):podman built from source at commit ba9c1f3.
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Physical machine running Fedora 33 and podman built from source at commit ba9c1f3.
For reference, Docker generates a
die
event as seen here: https://gist.github.com/davemulford/b9fdf09d377601bb460df138cd89dda1The text was updated successfully, but these errors were encountered: