API: add Platform (OS and Architecture) to /containers/json

Adds platform information to containers (for `docker ps`).

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
This commit is contained in:
Jonathan A. Sternberg
2025-02-13 14:52:21 -06:00
parent b570831cc3
commit 927e07e46e
8 changed files with 86 additions and 22 deletions

View File

@@ -89,6 +89,10 @@ keywords: "API, Docker, rcli, REST, documentation"
paths (`/v<API-version>/<endpoint>`).
* `POST /build/prune` renames `keep-bytes` to `reserved-space` and now supports
additional prune parameters `max-used-space` and `min-free-space`.
* `GET /containers/json` now returns an `ImageManifestDescriptor` field
matching the same field in `/containers/{name}/json`.
This field is only populated if the daemon provides a multi-platform image
store.
## v1.47 API changes