spiegel_podman/pkg/api/handlers
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
..
compat compat: ignore dead and restarting status filters 2026-09-29 00:21:19 +05:30
grpc RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
libpod Merge pull request #29791 from evanpurkhiser/codex/auto-update-filter 2026-09-21 15:01:10 -04:00
swagger api: implement compat distribution inspect endpoint 2026-09-22 21:14:45 -04:00
types RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
utils Merge pull request #29758 from haneul-24/fix/api-endpoint-content-type 2026-09-15 11:09:46 +02:00
decoder.go run modernize -fix ./... 2026-09-04 11:53:04 +02:00
types.go feat: Implement auto update support for podman-remote 2026-09-17 11:08:24 +02:00