diff --git a/storage/volumes.md b/storage/volumes.md index 0262952b09..5ed93c3410 100644 --- a/storage/volumes.md +++ b/storage/volumes.md @@ -463,7 +463,7 @@ $ docker service create -d \ ```bash docker service create -d \ --name nfs-service \ - --mount 'type=volume,source=nfsvolume,target=/app,volume-driver=local,volume-opt=type=nfs,volume-opt=device=:/,"volume-opt=o=10.0.0.10,rw,nfsvers=4,async"' \ + --mount 'type=volume,source=nfsvolume,target=/app,volume-driver=local,volume-opt=type=nfs,volume-opt=device=:/var/docker-nfs,"volume-opt=o=10.0.0.10,rw,nfsvers=4,async"' \ nginx:latest ```