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:
Sam J Sharpe 2013-06-07 20:32:27 +01:00
parent 078a19d725
commit 5e6cd21f8b
1 changed files with 1 additions and 1 deletions

View File

@ -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
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,
before finally outputting the ID of your new image.