docker compose logs

内容説明View output from containers
利用方法docker compose logs [OPTIONS] [SERVICE...]

内容説明

Displays log output from services

オプション

オプションデフォルト内容説明
-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)