docker-compose logs [service...]

View output from containers

Arguments

NameDescription
service

Options

NameDescription
--follow, -fFollow log output
--no-colorProduce monochrome output
--no-log-prefixDon't print prefix in logs
--since <since>Show logs since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)
--tail <lines>Number of lines to show from the end of the logs for each container
--timestamps, -tShow timestamps
--until <timestamp>Show logs before a timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)