Browse code

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

Sam J Sharpe authored on 2013/06/08 04:32:27
Showing 1 changed files
... ...
@@ -18,7 +18,7 @@ steps and commit them along the way, giving you a final image.
18 18
 To use Docker Builder, assemble the steps into a text file (commonly referred to
19 19
 as a Dockerfile) and supply this to `docker build` on STDIN, like so:
20 20
 
21
-    ``docker build < Dockerfile``
21
+    ``docker build - < Dockerfile``
22 22
 
23 23
 Docker will run your steps one-by-one, committing the result if necessary, 
24 24
 before finally outputting the ID of your new image.