Skip to content
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

Documentation Example mismatch #21884

Open
1 task done
sgen opened this issue Jan 23, 2025 · 0 comments
Open
1 task done

Documentation Example mismatch #21884

sgen opened this issue Jan 23, 2025 · 0 comments
Assignees

Comments

@sgen
Copy link

sgen commented Jan 23, 2025

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

The Dockerfile Reference for CMD states:

There can only be one CMD instruction in a Dockerfile.

However the Dockerfile in the getting-started-todo-app has several different CMD calls.

Location

https://docs.docker.com/reference/dockerfile/#cmd

Suggestion

I suspect (I am new to Docker) that the documentation should state something along the lines of:

There can only be one CMD instruction PER STAGE in a Dockerfile.

Regardless, I sit here, reviewing the Dockerfile of the getting-started-app, reviewing the reference, quite confused.

@sgen sgen added the status/triage Needs triage label Jan 23, 2025
@sarahsanders-docker sarahsanders-docker self-assigned this Jan 24, 2025
@sarahsanders-docker sarahsanders-docker removed the status/triage Needs triage label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants