Browse code

Fixing doc references to --env-file

Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)

Vincent Batts authored on 2014/02/27 06:05:25
Showing 1 changed files
... ...
@@ -1287,13 +1287,13 @@ explains in detail how to manipulate ports in Docker.
1287 1287
 
1288 1288
 .. code-block:: bash
1289 1289
 
1290
-    $ sudo docker run -e MYVAR1 --env MYVAR2=foo --envfile ./env.list ubuntu bash
1290
+    $ sudo docker run -e MYVAR1 --env MYVAR2=foo --env-file ./env.list ubuntu bash
1291 1291
 
1292 1292
 This sets environmental variables to the container. For illustration all three
1293 1293
 flags are shown here. Where -e and --env can be repeated, take an environment 
1294 1294
 variable and value, or if no "=" is provided, then that variable's current
1295 1295
 value is passed through (i.e. $MYVAR1 from the host is set to $MYVAR1 in the
1296
-container). The --envfile flag takes a filename as an argument and expects each
1296
+container). The --env-file flag takes a filename as an argument and expects each
1297 1297
 line to be a VAR=VAL format.
1298 1298
 
1299 1299
 .. code-block:: bash