spiegel_podman/pkg/api
Rudraksha Singh 2ac2529bf7
compat: ignore dead and restarting status filters
Docker documents `dead` and `restarting` as valid values for the
`status` filter on `/containers/json`. Podman returns HTTP 500 when
either of them is used even though no Podman container can ever be in
those states.

Ignore these values in the compat API. If they are the only status
filters, return an empty list like Docker does. Invalid status values
still return an error.

The libpod API still rejects these values since they are Docker
specific. Update the libpod API docs to list the states Podman
actually supports.

Reference:
https://docs.docker.com/reference/api/engine/version/v1.51/#tag/Container/operation/ContainerList

Fixes: #28904
Signed-off-by: Rudraksha Singh <rudraksharss@gmail.com>
2026-09-29 00:21:19 +05:30
..
grpcpb pkg/api/grpcpb: auto-format generated protobuf files 2026-05-07 13:30:23 -04:00
handlers compat: ignore dead and restarting status filters 2026-09-29 00:21:19 +05:30
server compat: ignore dead and restarting status filters 2026-09-29 00:21:19 +05:30
types set !remote build tags where needed 2024-08-19 11:41:28 +02:00
Makefile RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
tags.yaml feat: Implement auto update support for podman-remote 2026-09-17 11:08:24 +02:00