Browse Source

Merge pull request #26187 from albers/docs-volume-create-fix

Fix argument order for docker create in tutorial
(cherry picked from commit 670eaa71a0629323327cb5604c44abf14890d4b4)

Signed-off-by: Charles Smith <charles.smith@docker.com>
Vincent Demeester 9 years ago
parent
commit
5e4e13e31c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/tutorials/dockervolumes.md

+ 1 - 1
docs/tutorials/dockervolumes.md

@@ -203,7 +203,7 @@ The following example also creates the `my-named-volume` volume, this time
 using the `docker volume create` command.
 using the `docker volume create` command.
 
 
 ```bash
 ```bash
-$ docker volume create -d flocker --name my-named-volume -o size=20GB
+$ docker volume create -d flocker -o size=20GB my-named-volume
 
 
 $ docker run -d -P \
 $ docker run -d -P \
   -v my-named-volume:/opt/webapp \
   -v my-named-volume:/opt/webapp \