mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #33164 from thaJeztah/add-secret-to-service-create-example
Add "secrets" example for service create API docs
This commit is contained in:
commit
1245866249
1 changed files with 9 additions and 0 deletions
|
@ -7612,6 +7612,15 @@ paths:
|
||||||
Nameservers: ["8.8.8.8"]
|
Nameservers: ["8.8.8.8"]
|
||||||
Search: ["example.org"]
|
Search: ["example.org"]
|
||||||
Options: ["timeout:3"]
|
Options: ["timeout:3"]
|
||||||
|
Secrets:
|
||||||
|
-
|
||||||
|
File:
|
||||||
|
Name: "www.example.org.key"
|
||||||
|
UID: "33"
|
||||||
|
GID: "33"
|
||||||
|
Mode: 384
|
||||||
|
SecretID: "fpjqlhnwb19zds35k8wn80lq9"
|
||||||
|
SecretName: "example_org_domain_key"
|
||||||
LogDriver:
|
LogDriver:
|
||||||
Name: "json-file"
|
Name: "json-file"
|
||||||
Options:
|
Options:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue