Add support for log_opt
When specifying a log_driver you want to specify some options for the logger as per the docker run --log-opt option. The logger options are key value pairs. Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
parent
c1223bfd3a
commit
6f31e8ebe9
4 changed files with 25 additions and 1 deletions
|
|
@ -248,6 +248,14 @@ The default value is json-file.
|
|||
log_driver: "syslog"
|
||||
log_driver: "none"
|
||||
|
||||
Specify logging options with `log_opt` for the logging driver, as with the ``--log-opt`` option for `docker run`.
|
||||
|
||||
Logging options are key value pairs. An example of `syslog` options:
|
||||
|
||||
log_driver: "syslog"
|
||||
log_opt:
|
||||
address: "tcp://192.168.0.42:123"
|
||||
|
||||
### net
|
||||
|
||||
Networking mode. Use the same values as the docker client `--net` parameter.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue