mirror of https://github.com/docker/cli.git
deprecate "top-level" network information in NetworkSettings
When inspecting a container, `NetworkSettings` contains top-level information about the default ("bridge") network; `EndpointID`, `Gateway`, `GlobalIPv6Address`, `GlobalIPv6PrefixLen`, `IPAddress`, `IPPrefixLen`, `IPv6Gateway`, and `MacAddress`. These properties are deprecated in favor of per-network properties in `NetworkSettings.Networks`. These properties were already "deprecated" in docker 1.9, but kept around for backward compatibility. Refer to [#17538](https://github.com/docker/docker/pull/17538) for further information. This officially deprecates these properties, and marks them for removal in 1.16 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
378a9d816b
commit
96d5009f10
|
@ -20,6 +20,26 @@ The following list of features are deprecated in Engine.
|
||||||
To learn more about Docker Engine's deprecation policy,
|
To learn more about Docker Engine's deprecation policy,
|
||||||
see [Feature Deprecation Policy](https://docs.docker.com/engine/#feature-deprecation-policy).
|
see [Feature Deprecation Policy](https://docs.docker.com/engine/#feature-deprecation-policy).
|
||||||
|
|
||||||
|
|
||||||
|
### Top-level network properties in NetworkSettings
|
||||||
|
|
||||||
|
**Deprecated In Release: v1.13.0**
|
||||||
|
|
||||||
|
**Target For Removal In Release: v1.16**
|
||||||
|
|
||||||
|
When inspecting a container, `NetworkSettings` contains top-level information
|
||||||
|
about the default ("bridge") network;
|
||||||
|
|
||||||
|
`EndpointID`, `Gateway`, `GlobalIPv6Address`, `GlobalIPv6PrefixLen`, `IPAddress`,
|
||||||
|
`IPPrefixLen`, `IPv6Gateway`, and `MacAddress`.
|
||||||
|
|
||||||
|
These properties are deprecated in favor of per-network properties in
|
||||||
|
`NetworkSettings.Networks`. These properties were already "deprecated" in
|
||||||
|
docker 1.9, but kept around for backward compatibility.
|
||||||
|
|
||||||
|
Refer to [#17538](https://github.com/docker/docker/pull/17538) for further
|
||||||
|
information.
|
||||||
|
|
||||||
## `filter` param for `/images/json` endpoint
|
## `filter` param for `/images/json` endpoint
|
||||||
**Deprecated In Release: [v1.13.0](https://github.com/docker/docker/releases/tag/v1.13.0)**
|
**Deprecated In Release: [v1.13.0](https://github.com/docker/docker/releases/tag/v1.13.0)**
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue