-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
docker-build man page doesn't reflect new rules for Dockerfile path #1549
Comments
Looking through the man page, it also contains (emphasis mine)
Which seems to conflict with the current docs:
|
…Dockerfile path Signed-off-by: zvier <liuzekun0524@163.com>
Description
Now that #886 allows the Dockerfile to be outside the build context, the man page is no longer correct.
Describe the results you received:
The
docker-build
man page says for--file
:Describe the results you expected:
This should reflect the actual behavior. If I understand correctly, the path is actually relative to the directory in which
docker build
was run, not the build context dir specified inPATH
. I don't know the rules for remote URLs.Output of
docker version
:The text was updated successfully, but these errors were encountered: