1
0
Fork 0
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:
Sebastiaan van Stijn 2017-01-24 11:55:09 +01:00 committed by GitHub
commit d1f7798c60

View file

@ -137,7 +137,7 @@ Create a service specifying the secret, target, user/group ID and mode:
```bash ```bash
$ docker service create --name redis \ $ docker service create --name redis \
--secret source=ssh-key,target=ssh \ --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 redis:3.0.6
4cdgfyky7ozwh3htjfw0d12qv 4cdgfyky7ozwh3htjfw0d12qv
``` ```