How to Check Docker Logs? - geekflare.com
https://geekflare.com/check-docker-logs30.08.2021 · Docker Logs Command. The basic syntax to fetch logs of a container is: $ docker logs [OPTIONS] <CONTAINER-NAME OR ID>. Copy. OR. $ docker container logs [OPTIONS] <CONTAINER-NAME OR ID>. Copy. Both of the syntaxes are essentially the same, so we’ll focus on the rest of the commands in this article as docker logs.