@@ -20,6 +20,8 @@ Docker Container Monitor is a lightweight CLI tool written in Go that monitors r
2020 - [ Display only container states:] ( #display-only-container-states )
2121 - [ Display only service availability:] ( #display-only-service-availability )
2222 - [ Monitor Docker containers on a remote host:] ( #monitor-docker-containers-on-a-remote-host )
23+ - [ Monitor Docker events in real time:] ( #monitor-docker-events-in-real-time )
24+ - [ For JSON output, use:] ( #for-json-output-use )
2325 - [ Check systemd service status:] ( #check-systemd-service-status )
2426 - [ How It Works] ( #how-it-works )
2527 - [ Uninstallation] ( #uninstallation )
@@ -44,8 +46,10 @@ Docker Container Monitor is a lightweight CLI tool written in Go that monitors r
4446 Automatically verifies the accessibility of container services.
4547- ✅ ** Remote monitoring support**
4648 Monitor containers on remote hosts over SSH.
49+ - ✅ ** Real-time Docker events monitoring**
50+ Subscribe to Docker events for dynamic updates.
4751- ✅ ** Multiple output modes**
48- Choose from full status, container state, or service availability displays.
52+ Choose from full status, container state, service availability, or event monitoring displays.
4953- ✅ ** Simple CLI commands**
5054 Use ` monitor ` for an instant overview.
5155- ✅ ** Systemd integration**
@@ -118,16 +122,30 @@ monitor service
118122monitor remote --host < hostalias>
119123```
120124
125+ ### Monitor Docker events in real time:
126+
127+ ``` sh
128+ monitor events
129+ ```
130+
131+ #### For JSON output, use:
132+
133+ ``` sh
134+ monitor events --json
135+ ```
136+
121137### Check systemd service status:
122138
123139``` sh
124140systemctl status monitor
125141```
142+
126143## How It Works
127144
128145🚀 ** Retrieves a list of running Docker containers** using ` docker ps `
129146🔌 ** Gets exposed ports** for each container
130147🌐 ** Attempts an HTTP request** to determine if the service inside the container is responsive
148+ 🔔 ** Subscribes to Docker events** for real-time monitoring.
131149📊 ** Displays results** based on the selected mode
132150
133151## Uninstallation
0 commit comments