mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #30370 from mikesir87/master
Fixed secret creation usage during service create in docs
This commit is contained in:
commit
d1f7798c60
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ Create a service specifying the secret, target, user/group ID and mode:
|
|||
```bash
|
||||
$ docker service create --name redis \
|
||||
--secret source=ssh-key,target=ssh \
|
||||
--secret src=app-key,target=app,uid=1000,gid=1001,mode=0400 \
|
||||
--secret source=app-key,target=app,uid=1000,gid=1001,mode=0400 \
|
||||
redis:3.0.6
|
||||
4cdgfyky7ozwh3htjfw0d12qv
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue