Add "secrets" example for service create API docs

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 3e7c1b9a99a0e86abac00fbda87d3d961c1fa0f5
Component: engine
This commit is contained in:
Sebastiaan van Stijn
2017-05-11 17:04:08 +02:00
parent cfa3cb0b21
commit 841ec601d8

View File

@ -7612,6 +7612,15 @@ paths:
Nameservers: ["8.8.8.8"]
Search: ["example.org"]
Options: ["timeout:3"]
Secrets:
-
File:
Name: "www.example.org.key"
UID: "33"
GID: "33"
Mode: 384
SecretID: "fpjqlhnwb19zds35k8wn80lq9"
SecretName: "example_org_domain_key"
LogDriver:
Name: "json-file"
Options: