命令 docker logs <container> 仅输出stdout和stderr。您需要配置日志以推送到其中一个。在这里阅读更多 https://stackoverflow.com/a/36790613/10632970
docker logs <container>