1
0
mirror of https://github.com/docker/cli.git synced 2026-01-25 03:42:05 +03:00

Merge pull request #26629 from thaJeztah/add-logging-reference-link

Add link to logging drivers reference
Upstream-commit: 81ba067a1c5c233265d6bed25c3d3d4f48a78094
Component: engine
This commit is contained in:
Sebastiaan van Stijn
2016-09-16 15:46:21 +02:00
committed by GitHub

View File

@@ -24,11 +24,14 @@ Options:
-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.
> **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 container's `STDOUT` and `STDERR`.