From 66cbcac67f7c9bfc08074bbf330c6ff55559dbe6 Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Wed, 2 Nov 2016 13:31:08 -0700 Subject: [PATCH] Revert "Engine reference BUILD tarball contexts mangled" --- engine/reference/commandline/build.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engine/reference/commandline/build.md b/engine/reference/commandline/build.md index de4466d59a..3f3056deb6 100644 --- a/engine/reference/commandline/build.md +++ b/engine/reference/commandline/build.md @@ -96,9 +96,11 @@ Build Syntax Suffix | Commit Used | Build Context Used If you pass an URL to a remote tarball, the URL itself is sent to the daemon: +Instead of specifying a context, you can pass a single Dockerfile in the `URL` +or pipe the file in via `STDIN`. To pipe a Dockerfile from `STDIN`: + ```bash $ docker build http://server/context.tar.gz -``` The download operation will be performed on the host the Docker daemon is running on, which is not necessarily the same host from which the build command