Skip to content

Commit 02ee6b0

Browse files
committed
docs/deprecated: Deprecate Container fields in image inspect
See moby/moby#46939 Signed-off-by: Paweł Gronowski <[email protected]>
1 parent 1443014 commit 02ee6b0

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

docs/deprecated.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ The table below provides an overview of the current status of deprecated feature
5050

5151
| Status | Feature | Deprecated | Remove |
5252
|------------|------------------------------------------------------------------------------------------------------------------------------------|------------|--------|
53+
| Deprecated | [`Container` and `ContainerConfig` fields in Image inspect](#container-and-containerconfig-fields-in-image-inspect) | v25.0 | v27.0 |
5354
| Deprecated | [Deprecate legacy API versions](#deprecate-legacy-api-versions) | v25.0 | v26.0 |
5455
| Deprecated | [Container short ID in network Aliases field](#container-short-id-in-network-aliases-field) | v25.0 | v26.0 |
5556
| Deprecated | [IsAutomated field, and "is-automated" filter on docker search](#isautomated-field-and-is-automated-filter-on-docker-search) | v25.0 | v26.0 |
@@ -110,6 +111,19 @@ The table below provides an overview of the current status of deprecated feature
110111
| Removed | [`--run` flag on `docker commit`](#--run-flag-on-docker-commit) | v0.10 | v1.13 |
111112
| Removed | [Three arguments form in `docker import`](#three-arguments-form-in-docker-import) | v0.6.7 | v1.12 |
112113

114+
### `Container` and `ContainerConfig` fields in Image inspect
115+
116+
**Deprecated in Release: v25.0**
117+
**Target For Removal In Release: v27.0**
118+
119+
The `Container` and `ContainerConfig` fields returned by `docker inspect` are
120+
mostly an implementation detail of the classic (non-buildkit) image builder.
121+
These informations are not portable and are empty anyway when using the
122+
buildkit based builder (enabled by default since v23.0).
123+
These fields are deprecated in v25.0 and will be omitted starting from v27.0.
124+
If image configuration of an image is needed, it should be obtained from the
125+
`Config` field.
126+
113127
### Deprecate legacy API versions
114128

115129
**Deprecated in Release: v25.0**

0 commit comments

Comments
 (0)