From eaab1382be2dd42578a02a66801b36b08e51db9f Mon Sep 17 00:00:00 2001 From: freemankevin <71524776+freemankevin@users.noreply.github.com> Date: Thu, 23 Dec 2021 10:56:33 +0800 Subject: [PATCH] Supplement the'$' identifier --- storage/volumes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/volumes.md b/storage/volumes.md index f1eb56c416..2389740d7f 100644 --- a/storage/volumes.md +++ b/storage/volumes.md @@ -494,7 +494,7 @@ $ docker service create -d \ #### NFSv4 ```console -docker service create -d \ +$ docker service create -d \ --name nfs-service \ --mount 'type=volume,source=nfsvolume,target=/app,volume-driver=local,volume-opt=type=nfs,volume-opt=device=:/var/docker-nfs,"volume-opt=o=addr=10.0.0.10,rw,nfsvers=4,async"' \ nginx:latest