mirror of
https://github.com/docker/cli.git
synced 2025-07-30 17:03:07 +03:00
support src in --secret
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user