mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 13:11:30 +00:00
command missing 'daemon'
Signed-off-by: Kun Zhang <zkazure@gmail.com> Conflicts: docs/reference/logging/splunk.md
This commit is contained in:
@@ -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`:
|
||||
|
||||
Reference in New Issue
Block a user