docker-compose运行查看日志输出

2 min read

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.