From 5e6d7b44eae0180bd3cf8e23b90704864d4f8f68 Mon Sep 17 00:00:00 2001 From: Daniel Ramirez <63663111+danielramirez0@users.noreply.github.com> Date: Thu, 14 Mar 2024 15:10:24 -0700 Subject: [PATCH] Update volumes.md [CORRECTION] --volume-driver is ignored when using --mount. Updated instruction code to fix. --- content/storage/volumes.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/storage/volumes.md b/content/storage/volumes.md index 0f626f8094..eb4f01aae7 100644 --- a/content/storage/volumes.md +++ b/content/storage/volumes.md @@ -466,8 +466,7 @@ Each volume driver may have zero or more configurable options. ```console $ docker run -d \ --name sshfs-container \ - --volume-driver vieux/sshfs \ - --mount src=sshvolume,target=/app,volume-opt=sshcmd=test@node2:/home/test,volume-opt=password=testpassword \ + --mount type=volume,volume-driver=vieux/sshfs,src=sshvolume,target=/app,volume-opt=sshcmd=test@node2:/home/test,volume-opt=password=testpassword \ nginx:latest ```