docker container logs

Fetch the logs of a container

Usage

docker container logs [OPTIONS] CONTAINER

Description

See docker logs for more information.

Options

OptionShortDefaultDescription
--detailsShow extra details provided to logs
--follow-fFollow log output
--sinceShow logs since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)
--tail-nallNumber of lines to show from the end of the logs
--timestamps-tShow timestamps
--untilAPI 1.35+ Show logs before a timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)