Skip to content

[Feature] Docker panel completion — logs, lifecycle, Compose awareness #78

Description

@thangnm93

Problem Statement

The Containers screen could list Docker containers and Exec into them (0.1.12) and handle Kubernetes logs + port-forward (0.1.34), but the Docker side stopped at a read-only list. DevOps/SRE users managing containers on a host had to drop to a raw shell for everyday actions — viewing logs, restarting a crashed container, or bringing a Compose stack up/down.

Proposed Solution

Finish the Docker container story in the Containers screen:

  • Docker tab — list all containers (docker ps -a), per-container Stop / Start / Restart, one-click Exec into a new SSH tab, and an inline follow-mode log viewer (docker logs -f) with auto-scroll and a line cap.
  • Compose tab — discover Compose v2 stacks (docker compose ls + a find sweep, plus manual path add), per-stack Up / Down, per-service Start / Stop with replica counts, and per-service follow-mode logs.
  • 3-tab layout: Docker | Compose | Kubernetes, each gated on its runtime with an install/permission hint.

Alternatives Considered

  • Shelling out manually — defeats the point of an integrated panel.
  • A single combined tab — Compose discovery and per-service controls don't map cleanly onto the flat container list, so separate tabs read better.

Additional Context

  • Spec: docs/superpowers/specs/2026-06-18-docker-panel-completion-design.md
  • Plan: docs/superpowers/plans/2026-06-18-docker-panel-completion.md
  • Docker Compose v1 (docker-compose) is out of scope; discovery degrades to find-only.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions