From f164baea45f6cf244a2831adf800c90fa5026d3e Mon Sep 17 00:00:00 2001 From: Sam J Sharpe Date: Fri, 7 Jun 2013 20:32:27 +0100 Subject: [PATCH] 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 Upstream-commit: 5e6cd21f8b3bded9e9cba2e1b9a754df5a9c2bf2 Component: engine --- components/engine/docs/sources/use/builder.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/docs/sources/use/builder.rst b/components/engine/docs/sources/use/builder.rst index abd5b9ecb1..f2e9ce97ce 100644 --- a/components/engine/docs/sources/use/builder.rst +++ b/components/engine/docs/sources/use/builder.rst @@ -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.