mirror of https://github.com/docker/cli.git
support src in --secret
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
parent
4b2c41c1b8
commit
8628703ce6
|
@ -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 source=app-key,target=app,uid=1000,gid=1001,mode=0400 \
|
||||
--secret src=app-key,target=app,uid=1000,gid=1001,mode=0400 \
|
||||
redis:3.0.6
|
||||
4cdgfyky7ozwh3htjfw0d12qv
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue