Show HN: 일상적인 작업을 위한 미니멀한 Docker TUI
hackernews
|
|
📰 뉴스
#cli
#docker
#tui
#미니멀
#터미널
원문 출처: hackernews · Genesis Park에서 요약 및 분석
요약
Docker CLI의 스크립트 기능은 강력하지만, 매일 반복되는 로그 확인이나 컨테이너 관리 작업은 번거로울 수 있습니다. 이를 해결하기 위해 개발자는 ‘tdocker’라는 극단주의적 Docker TUI를 제작했습니다. 이 도구는 일상적으로 수십 번씩 사용하는 기능들만을 담아, 사용자가 반복적인 타이핑과 ID 검색 없이 효율적으로 작업할 수 있도록 돕습니다.
본문
A minimalistic terminal UI for everyday Docker operations. Not a dashboard, not a full Docker management suite - just the handful of things you actually do dozens of times a day, each a single keypress away: tail logs, exec into a shell, restart a container, copy an ID. tdocker_demo.mov tdocker is intentionally small. It covers the most common Docker workflows and nothing more. No plugin system, no YAML configs, no container creation wizards. If an operation isn't something you'd do multiple times a week, it probably doesn't belong here. Install with Homebrew: brew install pivovarit/tap/tdocker Or install with go install : go install github.com/pivovarit/tdocker@latest Make sure $GOPATH/bin is on your $PATH (the default is ~/go/bin ): export PATH="$PATH:$(go env GOPATH)/bin" Add the line above to your shell profile (.bashrc , .zshrc , etc.) to make it permanent. Then launch: tdocker Or run directly from source: git clone https://github.com/pivovarit/tdocker && cd tdocker && go run . | Component | Version | |---|---| | macOS | 26.3 (Sequoia) | | Docker Desktop | 29.2.1 | | Go | 1.26 | | Architecture | arm64 (Apple Silicon) | Clipboard integration is supported on macOS (pbcopy ), Windows (clip ), Linux/X11 (xclip ), Linux/Wayland (wl-copy ), and SSH/headless via OSC 52. | Key | Action | |---|---| ↑ / ↓ / j / k | Navigate | g / G | Jump to top / bottom | → / ← | Expand inline details / collapse | / | Filter containers | A | Toggle all / running only | l | View logs | e | Exec into container (sh ) | x | Open debug shell (docker debug ) | i | Inspect container | t | Show stats | v | Stream Docker events | c | Copy container ID to clipboard | S | Start / Stop (toggles by state) | R | Restart container | P | Pause / Unpause | D | Delete container (stopped only) | N | Rename container | r | Refresh | X | Switch Docker context | ? | Show help | q / Ctrl+C | Quit | - Navigate while filtering - press ↑ /↓ while typing a filter to accept it and immediately navigate the list q clears filters first - if a filter is active,q clears it instead of quitting; press again to exit- Inline details - press → on any container to expand port bindings and network info as navigable rows inline;← collapses them - Compose groups - → and← also expand and collapse Compose project groups - Auto-scroll in logs - logs auto-scroll as new lines arrive; scroll up to pause, scroll back to the bottom to resume - Smart actions - S stops running containers and starts stopped ones;R restarts running containers and starts stopped ones - Shell detection - e auto-detects available shells; for distroless/scratch images, usex (docker debug) instead
Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.
공유