Linux查看docker容器日志

docker logs -f 容器名或ID | grep fail | more

grep fail:过滤包含fail的日志内容

原文地址:https://www.cnblogs.com/lishidefengchen/p/11510711.html