Skip to content

iranailab/docker-help

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿณ Docker TUI (Terminal UI) in Go

A minimal terminal-based UI to manage and inspect Docker containers โ€” written in pure Go using tview and the Docker SDK.

๐Ÿš€ Features

  • View all Docker containers (running, exited, etc.)

  • See:

    • Name, Image, State, Status, Ports
    • Full container details (docker inspect)
    • Last 5 logs of each container
  • Refresh container list with one key

  • Works entirely in the terminal (no mouse required)


๐Ÿ“ฆ Requirements

  • Go 1.18+
  • Docker daemon running (locally or remote via DOCKER_HOST)
  • Git (for dependency fetching)

๐Ÿ”ง Installation

Clone the repo and run:

go mod tidy
go run .

Or build it:

go build -o docker-tui
./docker-tui

๐ŸŽฎ Controls

Key Action
โ†‘ / โ†“ Navigate container list
Enter Show container details and logs
r Refresh container list
q / Esc Quit the app

๐Ÿงช Example

docker run -d --name my-nginx -p 8080:80 nginx
go run .

You'll see my-nginx in the list, with ports, uptime, logs, and more.


๐Ÿ“š Dependencies


๐Ÿ“ License

MIT โ€” use freely.

About

A minimal terminal-based UI to manage and inspect Docker containers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages