mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
Continue to backfill empty PortBindings in API 1.53
- introduced by commit 0ca7ac3 ("daemon: backfill empty PBs
slices for backward compat")
Signed-off-by: Rob Murray <rob.murray@docker.com>
This commit is contained in:
@@ -33,7 +33,7 @@ keywords: "API, Docker, rcli, REST, documentation"
|
||||
* Deprecated: the Engine was automatically backfilling empty `PortBindings` lists with
|
||||
a PortBinding with an empty HostIP and HostPort when calling `POST /containers/{id}/start`.
|
||||
This behavior is now deprecated, and a warning is returned by `POST /containers/create`.
|
||||
The next API version will drop empty `PortBindings` list altogether.
|
||||
A future API version will drop empty `PortBindings` list altogether.
|
||||
* `GET /images/{name}/json` now omits the following `Config` fields when
|
||||
not set, to closer align with the implementation of the [OCI Image Specification](https://github.com/opencontainers/image-spec/blob/v1.1.1/specs-go/v1/config.go#L23-L62)
|
||||
`Cmd`, `Entrypoint`, `Env`, `Labels`, `OnBuild`, `User`, `Volumes`, and `WorkingDir`.
|
||||
|
||||
Reference in New Issue
Block a user