For system, network and cloud administrators
docker events &
By this point, any Docker command that you’ll run next will be viewed with more logs.
docker container run -d --name nginx-r-p-container --publish 80:80 nginx-reverse-proxy:latest
docker logs 250629587af532239d8b165e924f9217134cf662a5ba1ce0855c55f70e152f63
In my case above, I forgot to close my code block with “}”. Thus, the container didn’t run. And that’s how you can use Docker in debug mode.