The journald driver also supports docker logs.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -26,7 +26,8 @@ container's logging driver. The following options are supported: |
| 26 | 26 |
| `awslogs` | Amazon CloudWatch Logs logging driver for Docker. Writes log messages to Amazon CloudWatch Logs. | |
| 27 | 27 |
| `splunk` | Splunk logging driver for Docker. Writes log messages to `splunk` using HTTP Event Collector. | |
| 28 | 28 |
|
| 29 |
-The `docker logs`command is available only for the `json-file` logging driver. |
|
| 29 |
+The `docker logs`command is available only for the `json-file` and `journald` |
|
| 30 |
+logging drivers. |
|
| 30 | 31 |
|
| 31 | 32 |
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. |
| 32 | 33 |
|