How to check Docker container logs. Look for the container ID.

<pre lang="bash">
$ docker ps -a
3e2c1193915f

To view the logs for the container.

<pre lang="bash">
docker logs 3e2c1193915f
# or
docker container logs 3e2c1193915f