Merge pull request #19634 from danielramirez0/patch-1

Update volumes.md
This commit is contained in:
David Karlsson 2024-06-12 16:15:05 +02:00 committed by GitHub
commit dcc8761468
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -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
```