Skip to content

Commit a29e53d

Browse files
authored
Merge pull request #6111 from thaJeztah/update_deprecations
docs: deprecated: update status for non-standard fields in image inspect
2 parents 17dc288 + da0c976 commit a29e53d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docs/deprecated.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The following table provides an overview of the current status of deprecated fea
5555
|------------|------------------------------------------------------------------------------------------------------------------------------------|------------|--------|
5656
| Deprecated | [Configuration for pushing non-distributable artifacts](#configuration-for-pushing-non-distributable-artifacts) | v28.0 | v29.0 |
5757
| Deprecated | [`--time` option on `docker stop` and `docker restart`](#--time-option-on-docker-stop-and-docker-restart) | v28.0 | - |
58-
| Deprecated | [Non-standard fields in image inspect](#non-standard-fields-in-image-inspect) | v27.0 | v28.0 |
58+
| Removed | [Non-standard fields in image inspect](#non-standard-fields-in-image-inspect) | v27.0 | v28.2 |
5959
| Removed | [API CORS headers](#api-cors-headers) | v27.0 | v28.0 |
6060
| Removed | [Graphdriver plugins (experimental)](#graphdriver-plugins-experimental) | v27.0 | v28.0 |
6161
| Deprecated | [Unauthenticated TCP connections](#unauthenticated-tcp-connections) | v26.0 | v28.0 |
@@ -172,7 +172,7 @@ Users are encouraged to migrate to using the `--timeout` option instead.
172172
### Non-standard fields in image inspect
173173

174174
**Deprecated in Release: v27.0**
175-
**Target For Removal In Release: v28.0**
175+
**Removed In Release: v28.2**
176176

177177
The `Config` field returned shown in `docker image inspect` (and as returned by
178178
the `GET /images/{name}/json` API endpoint) returns additional fields that are
@@ -184,8 +184,9 @@ but are not omitted in the response when left empty. As these fields were not
184184
intended to be part of the image configuration response, they are deprecated,
185185
and will be removed from the API in thee next release.
186186

187-
The following fields are currently included in the API response, but are not
188-
part of the underlying image's `Config` field, and deprecated:
187+
The following fields are not part of the underlying image's `Config` field, and
188+
removed in the API response for API v1.50 and newer, corresponding with v28.2.
189+
They continue to be included when using clients that use an older API version:
189190

190191
- `Hostname`
191192
- `Domainname`
@@ -196,9 +197,9 @@ part of the underlying image's `Config` field, and deprecated:
196197
- `OpenStdin`
197198
- `StdinOnce`
198199
- `Image`
199-
- `NetworkDisabled` (already omitted unless set)
200-
- `MacAddress` (already omitted unless set)
201-
- `StopTimeout` (already omitted unless set)
200+
- `NetworkDisabled` (omitted unless set on older API versions)
201+
- `MacAddress` (omitted unless set on older API versions)
202+
- `StopTimeout` (omitted unless set on older API versions)
202203

203204
[Docker image specification]: https://github.com/moby/docker-image-spec/blob/v1.3.1/specs-go/v1/image.go#L19-L32
204205
[OCI image specification]: https://github.com/opencontainers/image-spec/blob/v1.1.0/specs-go/v1/config.go#L24-L62

0 commit comments

Comments
 (0)