Преглед на файлове

Merge pull request #203 from hblanks/remove-run-dash-a

docs - remove references to run -a
Solomon Hykes преди 12 години
родител
ревизия
f951f7876b
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      docs/sources/documentation/commandline/basecommands.rst
  2. 1 1
      docs/sources/documentation/installation/windows.rst

+ 1 - 1
docs/sources/documentation/commandline/basecommands.rst

@@ -17,7 +17,7 @@ Running an interactive shell
 
   # Run an interactive shell in the base image,
   # allocate a tty, attach stdin and stdout
-  docker run -a -i -t base /bin/bash
+  docker run -i -t base /bin/bash
 
 
 Starting a long-running worker process

+ 1 - 1
docs/sources/documentation/installation/windows.rst

@@ -156,7 +156,7 @@ You are now ready for the docker’s “hello world” example. Run
 
 .. code-block:: bash
 
-	docker run -a busybox echo hello world 
+	docker run busybox echo hello world
 
 .. image:: images/win/run_04.gif
    :alt: run docker