Harbor
Docker container management (2023 – 2024)
A simple tool, yet most often functional!
Kinda missing the heroku-cli for your self-hosted Docker apps? Tired of remembering which VPS to ssh into before listing all containers, praying the list is short enough to find one you need to observe and debug? You might just like Harbor!
Harbor is a Swift CLI tool, built for macOS and Linux (using Swift static standard lib builds) that will allow you quite simply to connect to your Docker Compose, Docker Swarm and (hopefully, help will be appreciated on this part) K3s clusters.
This tool was born of my need to simplify deployments and debugging for my colleagues at LostMechanics, see the related experience.
Go explore the insides of your contains using simples commands like harbor exec [env] [container] /bin/sh or harbor logs [env] [container]. Any argument not specified will offer a simple TUI menu to select from a list.
To know more, go see the README on GitHub
OVERVIEW: Harbor
USAGE: harbor <subcommand>
OPTIONS:
--version Show the version.
-h, --help Show help information.
SUBCOMMANDS:
stats Obtain container stats for an environment
exec Run a command on a given docker service
logs Show log stream for a docker service
reload Restart a service
db-backup Download a backup of the DB
docker-init Create default files for Docker deployment
completion Update harbor completion scripts
See 'harbor help <subcommand>' for detailed help.