Skip to content

Commit 7eba0da

Browse files
authored
Merge pull request #2953 from Busindre/patch-1
Update the list of log drivers
2 parents 0117ca6 + 040210b commit 7eba0da

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

docs/reference/run.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,16 +1407,20 @@ The container can have a different logging driver than the Docker daemon. Use
14071407
the `--log-driver=VALUE` with the `docker run` command to configure the
14081408
container's logging driver. The following options are supported:
14091409

1410-
| Driver | Description |
1411-
|:------------|:------------------------------------------------------------------------------------------------------------------------------|
1412-
| `none` | Disables any logging for the container. `docker logs` won't be available with this driver. |
1413-
| `json-file` | Default logging driver for Docker. Writes JSON messages to file. No logging options are supported for this driver. |
1414-
| `syslog` | Syslog logging driver for Docker. Writes log messages to syslog. |
1415-
| `journald` | Journald logging driver for Docker. Writes log messages to `journald`. |
1416-
| `gelf` | Graylog Extended Log Format (GELF) logging driver for Docker. Writes log messages to a GELF endpoint likeGraylog or Logstash. |
1417-
| `fluentd` | Fluentd logging driver for Docker. Writes log messages to `fluentd` (forward input). |
1418-
| `awslogs` | Amazon CloudWatch Logs logging driver for Docker. Writes log messages to Amazon CloudWatch Logs |
1419-
| `splunk` | Splunk logging driver for Docker. Writes log messages to `splunk` using Event Http Collector. |
1410+
| Driver | Description |
1411+
|:-------------|:-------------------------------------------------------------------------------------------------------------------------------|
1412+
| `none` | Disables any logging for the container. `docker logs` won't be available with this driver. |
1413+
| `local` | Logs are stored in a custom format designed for minimal overhead. |
1414+
| `json-file` | Default logging driver for Docker. Writes JSON messages to file. No logging options are supported for this driver. |
1415+
| `syslog` | Syslog logging driver for Docker. Writes log messages to syslog. |
1416+
| `journald` | Journald logging driver for Docker. Writes log messages to `journald`. |
1417+
| `gelf` | Graylog Extended Log Format (GELF) logging driver for Docker. Writes log messages to a GELF endpoint likeGraylog or Logstash. |
1418+
| `fluentd` | Fluentd logging driver for Docker. Writes log messages to `fluentd` (forward input). |
1419+
| `awslogs` | Amazon CloudWatch Logs logging driver for Docker. Writes log messages to Amazon CloudWatch Logs. |
1420+
| `splunk` | Splunk logging driver for Docker. Writes log messages to `splunk` using Event Http Collector. |
1421+
| `etwlogs` | Event Tracing for Windows (ETW) events. Writes log messages as Event Tracing for Windows (ETW) events. Only Windows platforms. |
1422+
| `gcplogs` | Google Cloud Platform (GCP) Logging. Writes log messages to Google Cloud Platform (GCP) Logging. |
1423+
| `logentries` | Rapid7 Logentries. Writes log messages to Rapid7 Logentries. |
14201424

14211425
The `docker logs` command is available only for the `json-file` and `journald`
14221426
logging drivers. For detailed information on working with logging drivers, see

0 commit comments

Comments
 (0)