Signed-off-by: Victor Vieux <victorvieux@gmail.com>
(cherry picked from commit f70470b71e519012e91137a2512f40d5bb8d18af)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
| ... | ... |
@@ -137,7 +137,7 @@ Create a service specifying the secret, target, user/group ID and mode: |
| 137 | 137 |
```bash |
| 138 | 138 |
$ docker service create --name redis \ |
| 139 | 139 |
--secret source=ssh-key,target=ssh \ |
| 140 |
- --secret source=app-key,target=app,uid=1000,gid=1001,mode=0400 \ |
|
| 140 |
+ --secret src=app-key,target=app,uid=1000,gid=1001,mode=0400 \ |
|
| 141 | 141 |
redis:3.0.6 |
| 142 | 142 |
4cdgfyky7ozwh3htjfw0d12qv |
| 143 | 143 |
``` |