docker-logs man page

docker-logs ā€” Fetch the logs of a container

Synopsis

docker logs [Options] CONTAINER

Description

Alias for docker container logs.

Options

--details[=false]

Show extra details provided to logs

-f, --follow[=false]

Follow log output

-h, --help[=false]

help for logs

--since=""

Show logs since timestamp (e.g. 2013-01-02T13:23:37) or relative (e.g. 42m for 42 minutes)

--tail="all"

Number of lines to show from the end of the logs

-t, --timestamps[=false]

Show timestamps

--until=""

Show logs before a timestamp (e.g. 2013-01-02T13:23:37) or relative (e.g. 42m for 42 minutes)

See Also

docker(1)

Referenced By

docker(1).

Aug 2018 Docker Community