mirror of https://github.com/docker/cli.git
Timestamps for docker logs.
Fixes #1165 Docker-DCO-1.1-Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com> (github: LK4D4)
This commit is contained in:
parent
15fb9e2087
commit
381334d3d2
|
@ -649,13 +649,14 @@ Fetch the logs of a container
|
|||
Usage: docker logs [OPTIONS] CONTAINER
|
||||
|
||||
-f, --follow=false: Follow log output
|
||||
-t, --timestamps=false: Show timestamps
|
||||
|
||||
The `docker logs` command batch-retrieves all logs
|
||||
present at the time of execution.
|
||||
|
||||
The `docker logs --follow` command combines `docker logs` and `docker
|
||||
attach`: it will first return all logs from the beginning and then
|
||||
continue streaming new output from the container'sstdout and stderr.
|
||||
The ``docker logs --follow`` command will first return all logs from the
|
||||
beginning and then continue streaming new output from the container's stdout
|
||||
and stderr.
|
||||
|
||||
## port
|
||||
|
||||
|
|
Loading…
Reference in New Issue