Merge pull request #979 from joaofnfernandes/docs-secrets-6294

Use printf, not echo when creating secrets
This commit is contained in:
Vincent Demeester 2018-04-03 09:45:11 +02:00 committed by GitHub
commit 17aaad6f06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ For detailed information about using secrets, refer to [manage sensitive data wi
### Create a secret
```bash
$ echo <secret> | docker secret create my_secret -
$ printf <secret> | docker secret create my_secret -
onakdyv307se2tl7nl20anokv