mirror of https://github.com/docker/docs.git
docs: update supported drivers for docker logs
The journald driver also supports docker logs. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
0b566566c6
commit
3e9543fc61
|
@ -26,7 +26,8 @@ container's logging driver. The following options are supported:
|
||||||
| `awslogs` | Amazon CloudWatch Logs logging driver for Docker. Writes log messages to Amazon CloudWatch Logs. |
|
| `awslogs` | Amazon CloudWatch Logs logging driver for Docker. Writes log messages to Amazon CloudWatch Logs. |
|
||||||
| `splunk` | Splunk logging driver for Docker. Writes log messages to `splunk` using HTTP Event Collector. |
|
| `splunk` | Splunk logging driver for Docker. Writes log messages to `splunk` using HTTP Event Collector. |
|
||||||
|
|
||||||
The `docker logs`command is available only for the `json-file` logging driver.
|
The `docker logs`command is available only for the `json-file` and `journald`
|
||||||
|
logging drivers.
|
||||||
|
|
||||||
The `labels` and `env` options add additional attributes for use with logging drivers that accept them. Each option takes a comma-separated list of keys. If there is collision between `label` and `env` keys, the value of the `env` takes precedence.
|
The `labels` and `env` options add additional attributes for use with logging drivers that accept them. Each option takes a comma-separated list of keys. If there is collision between `label` and `env` keys, the value of the `env` takes precedence.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue