From bb4a4345aa62811cb3710fb2471a04996cf63518 Mon Sep 17 00:00:00 2001 From: Isaac Puch Rojo Date: Tue, 5 Sep 2017 23:29:23 +0200 Subject: [PATCH] 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? --- engine/admin/volumes/volumes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/admin/volumes/volumes.md b/engine/admin/volumes/volumes.md index 81ca8900cc..015fc5699d 100644 --- a/engine/admin/volumes/volumes.md +++ b/engine/admin/volumes/volumes.md @@ -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 \