Compat API v1.52: multi-platform, network Status, events Accept, df, stats, and related gaps
Docker Engine API v1.52 still has several Compat gaps before we can treat 1.52 as covered under the parent epic (claim v1.55).
Needs work
Images / platforms
- [ ] Multi-
platformquery args onGET /images/{name}/getandPOST /images/load(extends v1.48 single-platform gap) - [x] Omit empty image inspect
Parent/DockerVersion/Author(today often always serialized as empty strings)
Networking / create
- [ ]
GET /networks/{id}Status(IPAM allocation stats) - [x] Empty
PortBindingscreate warning (Docker deprecates auto-backfill of empty HostIP/HostPort) - [ ] Reject or ignore container-wide
Config.MacAddresson create for API >= 1.52 (endpoint-only)
Events / stats / df
- [ ] Events content-type negotiation via
Accept:application/x-ndjsonandapplication/json-seq(today alwaysapplication/json) - [x]
GET /containers/{id}/statsos_type - [ ]
/system/df?verbose=1 - [ ] For API 1.52 clients, return both legacy df fields and new usage fields; legacy-only drop is v1.53
Contributing
If you want to work on one checklist item, please open a focused issue and PR for that part and reference this issue (and the parent epic). Prefer one change area per PR. Events Accept work should also cover v1.53 application/jsonl.
References
- https://docs.docker.com/reference/api/engine/version-history/#v152-api-changes
/assign
@Rajkaran-122 Please do not assign this issue to yourself. Instead, create a separate issue for each item and assign those. Also, please comment here on which part you are working on. Thanks!
I'm working on the events Accept item, split out as #30330 with the PR in #30329. It covers the v1.53 jsonl part from #30165 too.