#docker #prompt #visual #command #fuzzy-search #docs #interactive

app supdock

What's Up, Doc(ker)? A slightly more visual way to interact with the docker daemon

17 stable releases

3.5.0 Jun 6, 2024
3.4.0 Feb 23, 2024
3.3.0 Jan 23, 2024
3.2.1 Nov 24, 2023
3.0.5 Apr 25, 2023

#1879 in Command line utilities

39 downloads per month

MIT license

120KB
624 lines

Supdock

crates.io npm GitHub Workflow Status (with event)

What's Up, Doc(ker)? A slightly more visual way to interact with the docker daemon. Supdock is a wrapper for the docker command meaning you can still use all of the other docker commands without issues.

Why

Repetitive use of docker ps, docker logs, docker stats and docker exec -ti when troubleshooting complex container setups can get chaotic. Supdock aims to optimize and speed up your workflow using docker.

img

Installation

Cargo

cargo install supdock

NPM

npm install -g supdock

Chances are you will run into issues with yarn due to symlink issues, so install through npm instead.

Binary

Grab a binary from the releases page and move it into your desired bin (eg. /usr/local/bin) location.

mv supdock-<os> /usr/local/bin/supdock
chmod +x /usr/local/bin/supdock

Alias

If you don't want to use supdock and docker separately you can just set an alias.

alias docker="supdock"

Usage

What's Up Doc(ker)?

Usage: supdock [COMMAND]

Commands:
  prune  Remove stopped containers and dangling images. For more detailed usage refer to "docker system prune -h"
  ssh    SSH into a container
  env    See the environment variables of a running container
  cat    Echo the contents of a file using cat on a container

Options:
  -h, --help  Print help

For more detailed usage on docker refer to "docker help"

Usage above can differ from the actual usage shown by the command.

Changelog

For a basic changelog overview go here. I try to keep track of most general changes as best as I can.

Contributing & Troubleshooting

If you would like to see something added or you want to add something yourself feel free to create an issue or a pull request. Please provide either the panic log or your terminal output with RUST_LOG=debug enabled for easier troubleshooting.

Dependencies

~10–21MB
~312K SLoC