-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
WORKDIR behavior description contradicts COPY --from description #20152
Comments
There hasn't been any activity on this issue for a long time. Prevent issues from auto-closing with a /lifecycle stale |
/remove-lifecycle stale |
There hasn't been any activity on this issue for a long time. Prevent issues from auto-closing with a /lifecycle stale |
/remove-lifecycle stale |
There hasn't been any activity on this issue for a long time. Prevent issues from auto-closing with a /lifecycle stale |
/remove-lifecycle stale |
Is this a docs issue?
Type of issue
Information is incorrect
Description
These two excerpts from the documentation contradict each other. Which one is true?
From https://docs.docker.com/reference/dockerfile/#workdir
From https://docs.docker.com/reference/dockerfile/#copy---from
Location
https://docs.docker.com/reference/dockerfile/
Suggestion
Assuming that COPY --from ignores the WORKDIR definition, I'd propose the following two items:
Add a note with all the exceptions to WORKDIR in the WORKDIR section.
Add a note that COPY --from will ignore WORKDIR in the COPY --from section.
The text was updated successfully, but these errors were encountered: