8000 docs: deprecate empty Config fields in image inspect API by vvoland · Pull Request #6129 · docker/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docs: deprecate empty Config fields in image inspect API #6129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2025

Conversation

vvoland
Copy link
Collaborator
@vvoland vvoland commented Jun 13, 2025

Image config fields like Cmd, Entrypoint, Env, etc. will be omitted from /images/{name}/json response when empty, starting in v29.0.

Empty/nil image config fields in the `GET /images/{name}/json` response are now deprecated and will be removed in v29.0.

@vvoland vvoland self-assigned this Jun 13, 2025
@vvoland vvoland requested review from thaJeztah and a team as code owners June 13, 2025 11:30
@vvoland vvoland added this to the 28.3.0 milestone Jun 13, 2025
@codecov-commenter
Copy link
codecov-commenter commented Jun 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.04%. Comparing base (082d23d) to head (181563e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6129   +/-   ##
=======================================
  Coverage   55.04%   55.04%           
=======================================
  Files         361      361           
  Lines       30152    30152           
=======================================
  Hits        16596    16596           
  Misses      12598    12598           
  Partials      958      958           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines 164 to 165
**Deprecated in Release: v28.0**
**Deprecated in Release: v28.3**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this should've gone in the other block

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right, I messed up the positions. FIxed.

Image config fields like Cmd, Entrypoint, Env, etc. will be omitted from
/images/{name}/json response when empty, starting in v29.0.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
Copy link
Member
@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah thaJeztah merged commit 9cc2a2b into docker:master Jun 13, 2025
101 of 103 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0