mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #17394 from azurezk/doc
"docker --log-driver=XXX" in reference missing 'daemon'
This commit is contained in:
commit
b6fa541877
4 changed files with 4 additions and 4 deletions
|
@ -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`
|
||||
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
|
||||
`--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
|
||||
`--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
|
||||
`--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
|
||||
`--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
|
||||
`--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`
|
||||
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
|
||||
`--log-driver` option to `docker run`:
|
||||
|
|
Loading…
Reference in a new issue