Update volumes.md (#4492)

Only a minor error   --it -> -it
unknown flag: --it

I get a message error if I try to reproduce it.  
WARN[0000] `--volume-driver` is ignored for volumes specified via `--mount`. Use `--mount type=volume,volume-driver=...` instead. 
docker: Error response from daemon: create sshvolume: invalid option key: "sshcmd".

docker -v
Docker version 17.06.1-ce, build 874a737

Maybe the syntax are changed?
This commit is contained in:
Isaac Puch Rojo 2017-09-05 23:29:23 +02:00 committed by John Mulhausen
parent daa8ce8948
commit bb4a4345aa
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ must use the `--mount` flag to mount the volume, rather than `-v`.**
```bash
$ docker run -d \
--it \
-it \
--name sshfs-container \
--volume-driver vieux/sshfs \
--mount src=sshvolume,target=/app,volume-opt=sshcmd=test@node2:/home/test,volume-opt=password=testpassword \