1
0
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:
Victor Vieux
2016-11-23 14:30:57 -08:00
committed by Tibor Vass
parent 4b2c41c1b8
commit 8628703ce6

View File

@ -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
```