Implement Docker daemon integration for volume discovery #2

Closed
opened 2026-03-21 21:13:28 +00:00 by Mark · 0 comments
Owner

Description

Connect the application to the Docker daemon API to discover and manage real Docker volumes.

Current State

  • No Docker integration
  • All volume data is hardcoded in mockData.ts

Required Changes

  1. Connect to Docker daemon (via Docker API or socket)
  2. List actual Docker volumes with metadata
  3. Get volume size, labels, container usage
  4. Monitor volume changes in real-time
  5. Handle multiple Docker hosts (agents)

Technical Approach

Options:

  • Docker Engine API - Direct HTTP to Docker daemon
  • dockerode library (Node.js backend)
  • Agent-based - Lightweight agents on each Docker host

Files Affected

  • src/types/index.ts (may need new types)
  • src/lib/api.ts (volumes section)
  • src/lib/mockData.ts (remove mock volumes)

Acceptance Criteria

  • Real volumes appear in the UI
  • Volume stats are accurate
  • Multiple Docker hosts supported
## Description Connect the application to the Docker daemon API to discover and manage real Docker volumes. ## Current State - No Docker integration - All volume data is hardcoded in `mockData.ts` ## Required Changes 1. Connect to Docker daemon (via Docker API or socket) 2. List actual Docker volumes with metadata 3. Get volume size, labels, container usage 4. Monitor volume changes in real-time 5. Handle multiple Docker hosts (agents) ## Technical Approach Options: - **Docker Engine API** - Direct HTTP to Docker daemon - **dockerode** library (Node.js backend) - **Agent-based** - Lightweight agents on each Docker host ## Files Affected - `src/types/index.ts` (may need new types) - `src/lib/api.ts` (volumes section) - `src/lib/mockData.ts` (remove mock volumes) ## Acceptance Criteria - [ ] Real volumes appear in the UI - [ ] Volume stats are accurate - [ ] Multiple Docker hosts supported
Mark closed this issue 2026-05-26 21:25:50 +00:00
Sign in to join this conversation.
No description provided.