So the other day a buddy introduced me Dozzle. Since he was tired of navigating through multiple SSH sessions to view the logs of his Docker containers he was looking into a way of simplifying this and found Dozzle.
The problem which he experienced is something which I also faced in the beginning. Going into each docker and view its logs can be a pain in the ass. Especially if you want to connect two or more dockers together. Until now I always used Portainer which I’ve installed on my Raspberry Pi4B, to view the logs of my containers to troubleshoot issues. This is still one way to monitor the logs of Docker containers but Dozzle…. This a truly a simplifying tool which makes things much easier!
What is Dozzle?
Dozzle is a web-based Docker log viewer which provides a very simple and intuitive interface for viewing container logs in real-time. And the beauty of it, is that you can easily monitor the logs of multiple Docker containers at the same time! Well, by reading this, I was a bit excites and wanted to give it a try.
How to set it up?
Setting it up is very easy. Especially if you’re using Portainer or Docker Compose. Simply use the below code and run it.
How to use it?
As soon as it’s set-up you can access it using your <IP>:9999 and you’ll see a clean interface. I don’t need to say a lot about this, since it’s very easy to understand, navigate and to switch between different containers. One of the things which I love about Dozzle is its real-time log streaming. As soon as a new log entry is added to a container, it will be displayed in Dozzle without the need to refresh the page!
In conclusion, if you’re looking for a simple and easy-to-use tool for monitoring your Docker container logs, then Dozzle is definitely worth checking out.