-
Notifications
You must be signed in to change notification settings - Fork 76
Dashboard
The Dashboard is your central command center for monitoring all Docker containers and hosts. It provides real-time insights, customizable layouts, and multiple viewing modes to suit your workflow.
DockMon's dashboard combines flexibility with power, offering:
- Drag-and-drop customization - Arrange widgets to match your priorities
- Real-time updates - WebSocket-powered live data refresh every 2 seconds
- Multiple view modes - Choose between compact, standard, and expanded layouts
- Flexible grouping - Group hosts by tags or view all hosts together
- Persistent layouts - Your customizations sync across devices via database storage
The dashboard supports three view modes, each optimized for different use cases:
Best for: Quick overview, many hosts, limited screen space
Compact mode displays hosts in a dense list format with:
- Single-line host entries
- Status indicators (online/offline/error)
- Quick-access actions
- Minimal visual footprint
When to use: Managing 10+ hosts, quick status checks, mobile/tablet devices
Best for: Balanced view with essential metrics
Standard mode presents hosts in a 4-column grid with:
- Container count and status breakdown
- Key metrics at a glance
- Click-to-expand container details
- Moderate screen space usage
When to use: Daily monitoring, desktop displays, 5-20 hosts
Best for: Detailed monitoring, power users
Expanded mode shows hosts in a 3-column grid with:
- Full container lists per host
- Detailed resource metrics
- All actions visible
- Maximum information density
When to use: Troubleshooting, detailed analysis, large monitors
The widget dashboard provides real-time monitoring through five specialized widgets:
Displays:
- Total hosts count
- Online hosts count
- Offline hosts count
- Error hosts count
Updates: Real-time via WebSocket Size: 2 columns × 2 rows (minimum)
Displays:
- Total containers count
- Running containers count
- Stopped containers count
- Error containers count
Updates: Real-time via WebSocket Size: 2 columns × 2 rows (minimum)
Displays:
- Latest 10 container events
- Event types (started, stopped, died, etc.)
- Timestamps
- Container and host names
Updates: Real-time via WebSocket Size: 3 columns × 2 rows (minimum)
Features:
- Click events to view full details
- Color-coded event types
- Auto-scroll to latest events
Displays:
- Current active alerts
- Alert severity levels (critical, error, warning, info)
- Affected containers/hosts
- Alert rule names
Updates: Real-time via WebSocket Size: 3 columns × 2 rows (minimum)
Features:
- Color-coded severity indicators
- Click to view alert details
- Alert count by severity
Displays:
- Containers with available updates
- Current vs. available versions
- Update status
- Last check time
Updates: Polling (configurable interval) Size: 2 columns × 2 rows (minimum)
Features:
- Click to update individual containers
- Batch update actions
- Version comparison
- Click and hold the top area of any widget (drag handle)
- Drag the widget to your desired position
- Release to drop the widget in place
- Layout auto-saves after 1 second of inactivity
- Hover over widget corners to reveal resize handles
- Drag handles to adjust width/height
- Widgets snap to a 12-column grid system
- Minimum sizes enforced to prevent content clipping
Click the "Reset Layout" button in the dashboard header to restore the default widget arrangement:
- Host Stats (top left)
- Container Stats (top center-left)
- Updates (top center-right)
- Recent Events (top right)
- Active Alerts (far right)
Note: Resetting layout is immediate and cannot be undone. Your custom layout will be lost.
Displays all hosts in a flat list/grid based on view mode.
Groups hosts by their primary (first) tag:
- Collapsible sections - Expand/collapse tag groups independently
- Drag-and-drop within groups - Rearrange hosts within each tag group
- Untagged group - Hosts without tags appear in a special "Untagged" section
- Persistent state - Collapsed/expanded state saved per group
Use cases:
- Organizing by environment (production, staging, development)
- Separating by purpose (web servers, databases, cache)
- Grouping by team or project
The KPI (Key Performance Indicator) bar displays high-level metrics across all monitored resources:
Displays:
- Total hosts (with online/offline breakdown)
- Total containers (with running/stopped breakdown)
- Active alerts count
- Available updates count
Toggle visibility: Settings → Dashboard → Show KPI Bar
The dashboard uses WebSocket connections for instant updates:
- Container states: Instant (event-driven)
- Statistics: Every 2 seconds
- Events: Instant (as they occur)
- Alerts: Instant (as they trigger)
A status indicator in the header shows WebSocket connection state:
- Green dot: Connected, receiving updates
- Yellow dot: Connecting/reconnecting
- Red dot: Disconnected, no real-time updates
If connection is lost, DockMon automatically:
- Attempts reconnection every 3 seconds
- Uses exponential backoff (up to 30 seconds)
- Falls back to polling if WebSocket unavailable
Access via Settings → Dashboard
Show KPI Bar (default: enabled)
- Display high-level metrics bar at top of dashboard
- Recommended for users monitoring multiple hosts
Show Stats Widgets (default: disabled)
- Display the widget grid (Host Stats, Container Stats, etc.)
- Enable for detailed real-time monitoring
- Disable to maximize space for host cards
Dashboard View Mode (default: standard)
- Compact: Dense list view
- Standard: Balanced grid with 4 columns
- Expanded: Detailed grid with 3 columns
Group By (default: none)
- None: Flat list/grid of all hosts
- Tags: Group hosts by primary tag
- View mode: Expanded
- Widgets: Enable for detailed monitoring
- Grouping: None (unless tags provide meaningful organization)
- KPI Bar: Optional (redundant with few hosts)
- View mode: Standard
- Widgets: Enable key widgets (Container Stats, Active Alerts)
- Grouping: By tags (production/staging/dev)
- KPI Bar: Enabled
- View mode: Compact
- Widgets: Critical alerts and updates only
- Grouping: Essential - by environment or purpose
- KPI Bar: Enabled for quick overview
- Place critical widgets top-left (primary focus area)
- Group related widgets (stats together, alerts together)
- Size widgets proportionally to their importance
- Use vertical space efficiently on wide monitors
- Disable unused widgets to reduce WebSocket traffic
- Use compact mode for 20+ hosts to reduce DOM size
- Collapse inactive tag groups to improve render performance
- Close unused browser tabs running DockMon to free resources
| Shortcut | Action |
|---|---|
R |
Refresh dashboard data |
Esc |
Close open modals/drawers |
1-5 |
Switch view mode (when available) |
Problem: Widgets show stale data Solutions:
- Check WebSocket connection indicator (should be green)
- Refresh browser page (
Ctrl+R/Cmd+R) - Check browser console for connection errors
- Verify DockMon backend is running (
docker ps | grep dockmon)
Problem: Dashboard resets to default layout on refresh Solutions:
- Wait 1 second after dragging (auto-save delay)
- Check browser console for save errors
- Verify database connection is healthy
- Check browser local storage quota (Settings → Application → Storage)
Problem: Dashboard is laggy or unresponsive Solutions:
- Switch to Compact view mode
- Disable unused widgets
- Reduce number of visible hosts (use grouping + collapse)
- Clear browser cache and reload
- Close other browser tabs
Problem: Widget grid doesn't appear Solutions:
- Enable in Settings → Dashboard → Show Stats Widgets
- Verify widgets aren't pushed below viewport (scroll down)
- Reset layout to defaults
- Container Operations - Managing individual containers
- Settings - Customizing dashboard preferences
- Event Viewer - Detailed event analysis
- Alerts - Alert rules and notifications
Getting Started
User Guide
- Dashboard
- Managing Hosts
- Container Operations
- Container Tagging
- Bulk Operations
- Stacks
- Auto-Restart
- Event Viewer
- Container Logs
Configuration
- Alert Rules
- Notifications
- Blackout Windows
- Automatic Updates
- Private Registry Credentials
- Health Checks
- Settings
Remote Monitoring
Access Control
Advanced
Development
Help