Browse code

Add powershell example and make linux build example consistent with other examples

Signed-off-by: Michael Friis <friism@gmail.com>

Michael Friis authored on 2016/05/28 01:01:05
Showing 1 changed files
... ...
@@ -79,7 +79,11 @@ Build Syntax Suffix | Commit Used | Build Context Used
79 79
 Instead of specifying a context, you can pass a single Dockerfile in the `URL`
80 80
 or pipe the file in via `STDIN`. To pipe a Dockerfile from `STDIN`:
81 81
 
82
-    docker build - < Dockerfile
82
+    $ docker build - < Dockerfile
83
+
84
+With Powershell on Windows, you can run:
85
+
86
+    Get-Content Dockerfile | docker build -
83 87
 
84 88
 If you use STDIN or specify a `URL`, the system places the contents into a file
85 89
 called `Dockerfile`, and any `-f`, `--file` option is ignored. In this