For system, network and cloud administrators

How to run Docker in debug mode and view container logs?

  1. Execute the Docker events command:
docker events &
Docker events command

By this point, any Docker command that you’ll run next will be viewed with more logs.