docker compose logs

DescriptionView output from containers
Usagedocker compose logs [OPTIONS] [SERVICE...]

Description

Displays log output from services

Options

OptionDefaultDescription
-f, --followFollow log output
--indexindex of the container if service has multiple replicas
--no-colorProduce monochrome output
--no-log-prefixDon't print prefix in logs
--sinceShow logs since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)
-n, --tailallNumber of lines to show from the end of the logs for each container
-t, --timestampsShow timestamps
--untilShow logs before a timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)