portain
v1.1.2
Published
Portain terminal UI for managing Docker containers and listening ports
Downloads
343
Readme
Portain TUI
A terminal companion to the native Portain app, built with OpenTUI. The Swift app is untouched.
Install and run
Requires Bun, Docker for the Containers tab, and lsof for Ports.
bunx portainOr install globally:
bun add --global portain
portainFrom a checkout:
cd tui
bun install
bun run startThe package is a Bun CLI, so Bun must be installed even when using bunx or a global install. Docker is optional if you only need the Ports tab.
Controls
Tab/←/→switch between Containers and Ports↑/↓orj/kselect an item- Containers:
sstart/stop,rrestart,dremove - Containers:
ffold the compose project under the cursor,Shift+ffold the whole Running/Stopped section - Ports:
xterminate (SIGTERM),Shift+xforce kill (SIGKILL) - Ports:
rrefresh,qorEscquit
The view refreshes automatically every five seconds. Destructive actions ask for confirmation — press y or Enter to go ahead, any other key to cancel.
Containers are listed running-first, under a RUNNING and a STOPPED section, each still grouped by compose project. A project with some services up and some down appears in both sections.
Publish (maintainers)
From this directory, bump the version and publish the public package:
npm version patch
npm publish --access publicThe package name is portain.
