Docker Integration
Atom provides a full Docker management interface with real-time container stats.
Setup
Mount the Docker socket to enable container management:
docker-compose.yml
services:
atom:
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
Security Note
Mounting the Docker socket gives Atom full control over your Docker daemon. Use :ro (read-only) if you only need monitoring without start/stop/exec capabilities.
Container Dashboard
Navigate to the Docker page via the sidebar or Command Palette. The dashboard shows:
Container Actions
Terminal (Exec)
The built-in terminal uses xterm.js to provide a fully interactive shell inside any running container:
- Full terminal emulation with color support
- Resizable terminal window
- Copy/paste support
- Auto-fit to window size
Docker Widget
Add a Docker summary widget to your dashboard:
- Go to Settings → Widgets
- Add a widget with type Docker
- The widget shows total container count and running/stopped status
Performance
- Container stats are fetched with a 2-second timeout per container
- Overall list fetch has a 5-second timeout
- Stats that fail to load gracefully fall back without breaking the UI
- Smart merge prevents UI flickering when stats temporarily fail