Update Dockerfile code snippet for "Using the official Docker image" tab#24820
Open
iamdbychkov wants to merge 1 commit intodocker:mainfrom
Open
Update Dockerfile code snippet for "Using the official Docker image" tab#24820iamdbychkov wants to merge 1 commit intodocker:mainfrom
iamdbychkov wants to merge 1 commit intodocker:mainfrom
Conversation
The code snippet for Dockerfile under the "Using the official Docker images" contains a comment which says that this Docker file uses DHI image, which is incorrect.
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
thaJeztah
approved these changes
Apr 18, 2026
Comment on lines
-149
to
150
| # This Dockerfile uses Docker Hardened Images (DHI) for enhanced security. | ||
| # For more information, see https://docs.docker.com/dhi/ | ||
| # This Dockerfile uses Python Docker Official Image | ||
| ARG PYTHON_VERSION=3.12 |
Member
There was a problem hiding this comment.
Did a quick check where this came from, but looks like it landed in the wrong tab when this file was updated; https://github.com/docker/docs/pull/23749/changes#diff-8220f5dd3cc751cccded6014817c5369e9d6bc004ec49478bdab02d0629d3d25R149-R151
Member
|
@dvdksn wondering if we should either adjust the length of the collapsed examples Currently the "preview" only shows comments, and the
Or perhaps remove the comment about the Dockerfile being ... annotated with comments, which feels a bit self-describing (I guess these were based on the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


The code snippet for Dockerfile under the "Using the official Docker images" contains a comment which says that this Docker file uses DHI image, which is incorrect.
Updated the code snippet to match the tab contents
Reviews