podman icon indicating copy to clipboard operation
podman copied to clipboard

GET /containers/{id}/stats os_type

Open ajoshua2004 opened this issue 2 weeks ago • 1 comments

Feature request description

Docker Engine API v1.52 added an os_type field to the response of GET /containers/{id}/stats. Podman's compat endpoint doesn't return this field yet.

This issue tracks adding os_type to the compat stats response (for both streamed and one-shot stats), filled in from the host OS (e.g. linux), and adding apiv2 test coverage for it.

Part of #30164 (Compat API v1.52 gaps), under the epic #30159 (claim Docker Engine API v1.55).

Ref: https://docs.docker.com/reference/api/engine/version-history/#v152-api-changes

Suggest potential solution

A clear and concise description of what you want to happen.

Have you considered any alternatives?

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

ajoshua2004 avatar Nov 17 '26 18:11 ajoshua2004

/assign

ajoshua2004 avatar Nov 17 '26 18:11 ajoshua2004