Merge pull request #26187 from albers/docs-volume-create-fix
Fix argument order for docker create in tutorial
(cherry picked from commit 670eaa71a0
)
Signed-off-by: Charles Smith <charles.smith@docker.com>
This commit is contained in:
parent
748f3ef8e3
commit
5e4e13e31c
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ The following example also creates the `my-named-volume` volume, this time
|
|||
using the `docker volume create` command.
|
||||
|
||||
```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 \
|
||||
-v my-named-volume:/opt/webapp \
|
||||
|
|
Loading…
Reference in a new issue