Fixed secret creation usage during service create in docs

Using source, the following error is made:
invalid field in secret request: src

Signed-off-by: Michael Irwin <mikesir87@gmail.com>
This commit is contained in:
Michael Irwin 2017-01-23 12:06:53 -05:00
parent 8bb8ac7f78
commit 9250117d58
No known key found for this signature in database
GPG Key ID: B9BD1E3E28BD2A14
1 changed files with 1 additions and 1 deletions

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