podman/pkg/api/handlers/utils
Paul Holzinger b3829a2932
libpod API: make wait endpoint better against rm races
In the common scenario of podman-remote run --rm the API is required to
attach + start + wait to get exit code. This has the problem that the
wait call races against the container removal from the cleanup process
so it may not get the exit code back. However we keep the exit code
around for longer than the container so  we can just look it up in the
endpoint. Of course this only works when we get a full id as param but
podman-remote will do that.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-10-08 18:03:15 +02:00
..
apiutil set !remote build tags where needed 2024-08-19 11:41:28 +02:00
containers.go libpod API: make wait endpoint better against rm races 2024-10-08 18:03:15 +02:00
errors.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
handler.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
handler_test.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
images.go Remove containers/common/pkg/config from pkg/util 2024-09-06 07:45:04 -04:00