Visual, interactive Docker infrastructure debugger.
A browser-based 3D dependency graph of your Docker services with live health, logs, metrics, and container actions. Mission control for your Docker Compose stacks.
Prerequisites: Node.js (v18+) and Docker must be installed and running.
npx dockscope up
Or install globally:
npm install -g dockscope
dockscope up
docker run --rm --pull always -p 4681:4681 -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/manuelr-t/dockscope
Note: The Docker image does not include Compose project management (up/down/destroy) since it cannot access host compose files. All other features work normally.
Opens http://localhost:4681.
| Option | Default | Description |
|---|---|---|
-p, --port <port> |
4681 |
Server port (auto-increments if in use) |
--no-open |
— | Don't open browser |
dockscope scan |
— | Output graph as JSON (no UI) |
depends_on arrows and network links. Node size scales by importance (ports, connections, CPU, memory, I/O). Compose projects grouped with enclosure spheres.I key) to highlight everything that would break if it goes down. Traverses depends_on upstream and dims unaffected nodes..txt./bin/sh) via xterm.js embedded in the sidebar.docker compose down.| Key | Action |
|---|---|
/ or Ctrl+K |
Focus search |
Escape |
Close panel / clear search |
F |
Zoom to fit |
R |
Reset camera |
C |
Center on selected node |
I |
Toggle impact view |
? |
Show shortcut help |
| Method | Path | Description |
|---|---|---|
| GET | /api/graph |
Full graph (nodes + links) |
| GET | /api/containers/:id/stats |
CPU, memory, network I/O |
| GET | /api/containers/:id/logs?tail=N |
Logs (default 200 lines) |
| GET | /api/containers/:id/inspect |
Env, labels, mounts, config |
| GET | /api/containers/:id/history |
Metric sparkline data |
| GET | /api/containers/:id/top |
Running processes |
| GET | /api/containers/:id/diff |
Filesystem changes |
| GET | /api/containers/:id/diagnostic |
Crash diagnostic analysis |
| POST | /api/containers/:id/{action} |
start, stop, restart, pause, unpause, kill |
| DELETE | /api/containers/:id?volumes=true |
Remove container |
| GET | /api/projects |
List compose projects |
| POST | /api/projects/:name/{action} |
up, down, stop, start, restart, destroy |
| GET | /api/system |
Docker version, CPUs, memory |
| GET | /api/health |
Docker connectivity check |
| GET | /api/version |
Current + latest version |
| WS | /ws |
Real-time graph, stats, events, logs, exec, anomalies, diagnostics |
git clone https://github.com/ManuelR-T/dockscope.git
cd dockscope
npm install
npm run dev # Starts on port 4681 with Vite HMR
| Command | Description |
|---|---|
npm run dev |
Dev server (backend + frontend with HMR) |
npm run build |
Production build |
npm run start |
Run production build |
npm test |
Run unit tests (vitest) |
npm run lint |
ESLint check |
npm run format |
Prettier format |
npm run typecheck |
TypeScript check |
| Layer | Technology |
|---|---|
| Frontend | Svelte 5, Three.js, 3d-force-graph, xterm.js |
| Backend | Express, WebSocket (ws), dockerode |
| Build | Vite, TypeScript |
| Testing | Vitest |
| CLI | Commander |
| CI/CD | GitHub Actions, commitlint, ESLint, Prettier |
See CONTRIBUTING.md.