Add missing --log-driver and --log-opt docs
Adds documentation for "--log-driver" and "--log-opt" for services. Also updated the API docs to include the new options, and generated a more complete JSON example. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
338cf2edd8
commit
c8dd8fe523
@ -24,6 +24,8 @@ Options:
|
||||
-l, --label value Service labels (default [])
|
||||
--limit-cpu value Limit CPUs (default 0.000)
|
||||
--limit-memory value Limit Memory (default 0 B)
|
||||
--log-driver string Logging driver for service
|
||||
--log-opt value Logging driver options (default [])
|
||||
--mode string Service mode (replicated or global) (default "replicated")
|
||||
--mount value Attach a mount to the service
|
||||
--name string Service name
|
||||
|
@ -29,6 +29,8 @@ Options:
|
||||
--label-rm value Remove a label by its key (default [])
|
||||
--limit-cpu value Limit CPUs (default 0.000)
|
||||
--limit-memory value Limit Memory (default 0 B)
|
||||
--log-driver string Logging driver for service
|
||||
--log-opt value Logging driver options (default [])
|
||||
--mount-add value Add or update a mount on a service
|
||||
--mount-rm value Remove a mount by its target path (default [])
|
||||
--name string Service name
|
||||
|
Loading…
x
Reference in New Issue
Block a user