此内容还未提供中文版,以下为英文版

docker-compose logs

预计阅读时间: 1 分钟
Usage: logs [options] [SERVICE...]

Options:
--no-color          Produce monochrome output.
-f, --follow        Follow log output
-t, --timestamps    Show timestamps
--tail="all"        Number of lines to show from the end of the logs
                    for each container.

Displays log output from services.

fig, composition, compose, docker, orchestration, cli, logs