CmdID

CmdID / docker / docker compose

docker compose logs

Displays log output from services Docker Compose reference

9 options Its page in the Docker Compose reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

9 in the Docker Compose reference
--dry-runExecute command in dry run mode
--follow, -fFollow 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)
--tail, -nNumber of lines to show from the end of the logs for each container
--timestamps, -tShow timestamps
--untilShow logs before a timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)