mirror of https://github.com/docker/docs.git
Merge pull request #17394 from azurezk/doc
"docker --log-driver=XXX" in reference missing 'daemon'
This commit is contained in:
commit
b6fa541877
|
@ -21,7 +21,7 @@ and Command Line Tools](http://docs.aws.amazon.com/cli/latest/reference/logs/ind
|
||||||
You can configure the default logging driver by passing the `--log-driver`
|
You can configure the default logging driver by passing the `--log-driver`
|
||||||
option to the Docker daemon:
|
option to the Docker daemon:
|
||||||
|
|
||||||
docker --log-driver=awslogs
|
docker daemon --log-driver=awslogs
|
||||||
|
|
||||||
You can set the logging driver for a specific container by using the
|
You can set the logging driver for a specific container by using the
|
||||||
`--log-driver` option to `docker run`:
|
`--log-driver` option to `docker run`:
|
||||||
|
|
|
@ -39,7 +39,7 @@ Some options are supported by specifying `--log-opt` as many times as needed:
|
||||||
Configure the default logging driver by passing the
|
Configure the default logging driver by passing the
|
||||||
`--log-driver` option to the Docker daemon:
|
`--log-driver` option to the Docker daemon:
|
||||||
|
|
||||||
docker --log-driver=fluentd
|
docker daemon --log-driver=fluentd
|
||||||
|
|
||||||
To set the logging driver for a specific container, pass the
|
To set the logging driver for a specific container, pass the
|
||||||
`--log-driver` option to `docker run`:
|
`--log-driver` option to `docker run`:
|
||||||
|
|
|
@ -29,7 +29,7 @@ driver stores the following metadata in the journal with each message:
|
||||||
You can configure the default logging driver by passing the
|
You can configure the default logging driver by passing the
|
||||||
`--log-driver` option to the Docker daemon:
|
`--log-driver` option to the Docker daemon:
|
||||||
|
|
||||||
docker --log-driver=journald
|
docker daemon --log-driver=journald
|
||||||
|
|
||||||
You can set the logging driver for a specific container by using the
|
You can set the logging driver for a specific container by using the
|
||||||
`--log-driver` option to `docker run`:
|
`--log-driver` option to `docker run`:
|
||||||
|
|
|
@ -20,7 +20,7 @@ in Splunk Enterprise and Splunk Cloud.
|
||||||
You can configure the default logging driver by passing the `--log-driver`
|
You can configure the default logging driver by passing the `--log-driver`
|
||||||
option to the Docker daemon:
|
option to the Docker daemon:
|
||||||
|
|
||||||
docker --log-driver=splunk
|
docker daemon --log-driver=splunk
|
||||||
|
|
||||||
You can set the logging driver for a specific container by using the
|
You can set the logging driver for a specific container by using the
|
||||||
`--log-driver` option to `docker run`:
|
`--log-driver` option to `docker run`:
|
||||||
|
|
Loading…
Reference in New Issue