Add link to logging drivers reference
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
76ee0e8185
commit
7ca02f86de
1 changed files with 6 additions and 3 deletions
|
@ -24,11 +24,14 @@ Options:
|
||||||
-t, --timestamps Show timestamps
|
-t, --timestamps Show timestamps
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Note**: this command is available only for containers with `json-file` and
|
|
||||||
> `journald` logging drivers.
|
|
||||||
|
|
||||||
The `docker logs` command batch-retrieves logs present at the time of execution.
|
The `docker logs` command batch-retrieves logs present at the time of execution.
|
||||||
|
|
||||||
|
> **Note**: this command is only functional for containers that are started with
|
||||||
|
> the `json-file` or `journald` logging driver.
|
||||||
|
|
||||||
|
For more information about selecting and configuring login-drivers, refer to
|
||||||
|
[Configure logging drivers](../../admin/logging/overview.md).
|
||||||
|
|
||||||
The `docker logs --follow` command will continue streaming the new output from
|
The `docker logs --follow` command will continue streaming the new output from
|
||||||
the container's `STDOUT` and `STDERR`.
|
the container's `STDOUT` and `STDERR`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue