Files
Sebastiaan van Stijn 3388108f9a api/types/image: InspectResponse: deprecate Parent, DockerVersion
The image inspect response has various fields that were deprecated as
part of the legacy builder, or Dockerfile syntax;

- The `Parent` field is only used for the legacy builder, and only set for
  images that are built locally (i.e., not persisted when pulling an image).
- The `DockerVersion` field is only set when building images with the legacy
  builder, and empty in most cases.

This patch deprecates the fields in the `InspectResponse` go struct, as
these fields will no longer be set in future once the legacy builder is
removed (`Parent`, `DockerVersion`). The legacy builder's deprecation in
[cli@4d8e457] / [cli@fd22746] (docker 23.0, API v1.42), however the related
API fields were kept so that information of legacy images would not be
discarded.

The API continues to return these fields if set, allowing the client to
print the fields for informational purposes when printing the raw response,
but these fields should be considered "transitional", and not be depended
on; deprecating the fields helps raise awareness.

[cli@4d8e457]: 4d8e45782b
[cli@fd22746]: fd2274692f

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit bd8a99b400)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-10-05 23:06:38 +02:00
..
2025-06-13 08:26:56 +00:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-06-07 09:57:59 +02:00
2025-05-30 15:59:13 +02:00
2025-06-07 09:57:59 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-06-13 08:26:56 +00:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2024-11-28 10:03:46 +01:00
2025-06-13 08:26:56 +00:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-01 14:16:44 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-06-07 09:57:59 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-06-07 09:57:59 +02:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00