mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Build from Dockerfile on stdin requires a hypen
There is a missing hypen in the documentation: `docker build < Dockerfile` will complain `docker build - < Dockerfile` will not complain
This commit is contained in:
parent
078a19d725
commit
5e6cd21f8b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ steps and commit them along the way, giving you a final image.
|
||||||
To use Docker Builder, assemble the steps into a text file (commonly referred to
|
To use Docker Builder, assemble the steps into a text file (commonly referred to
|
||||||
as a Dockerfile) and supply this to `docker build` on STDIN, like so:
|
as a Dockerfile) and supply this to `docker build` on STDIN, like so:
|
||||||
|
|
||||||
``docker build < Dockerfile``
|
``docker build - < Dockerfile``
|
||||||
|
|
||||||
Docker will run your steps one-by-one, committing the result if necessary,
|
Docker will run your steps one-by-one, committing the result if necessary,
|
||||||
before finally outputting the ID of your new image.
|
before finally outputting the ID of your new image.
|
||||||
|
|
Loading…
Add table
Reference in a new issue