Skip to content

Comments

feat: show Docker containers as virtual rows in process list#13

Merged
kostyay merged 1 commit intomainfrom
feat/docker-container-rows
Feb 11, 2026
Merged

feat: show Docker containers as virtual rows in process list#13
kostyay merged 1 commit intomainfrom
feat/docker-container-rows

Conversation

@kostyay
Copy link
Owner

@kostyay kostyay commented Feb 11, 2026

Summary

  • Surfaces Docker containers as standalone 🐳 name (image) rows alongside real processes in the process list
  • Drill-down shows only port-mapped connections for each container
  • Container stop/kill via Docker API (x/X keys)
  • Togglable via Settings modal (on by default)
  • Filters work on container name, image, and ID

Changes

  • internal/model/network.goVirtualContainer, PortMapping types
  • internal/config/settings.goDockerContainers setting (default: true)
  • internal/docker/resolver.goResolveResult with port mappings + virtual containers
  • internal/docker/actions.goStopContainer, KillContainer via Docker API
  • internal/ui/ — virtual row rendering, drill-down, kill, settings toggle, selection

Test plan

  • make test — all tests pass (22 new tests in docker_containers_test.go)
  • make lint — 0 issues
  • make build — binary builds
  • Manual: run netmon with Docker containers → verify virtual rows, drill-down, settings toggle, container stop

🤖 Generated with Claude Code

Surface Docker containers as standalone 🐳 rows alongside real processes,
reducing clicks needed to see which container owns which port.

- Add VirtualContainer type and DockerContainers setting (on by default)
- Expand docker resolver to return both port mappings and virtual containers
- Render virtual container rows with container ID, image, mapped connections
- Support drill-down into container connections (port-mapped only)
- Add container stop/kill via Docker API (x/X keys on container rows)
- Settings modal toggle (index 4) to enable/disable virtual rows
- Filter virtual containers by name, image, or container ID
- Comprehensive test coverage (22 new tests)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kostyay kostyay merged commit 902f798 into main Feb 11, 2026
4 checks passed
@kostyay kostyay deleted the feat/docker-container-rows branch February 11, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant