SCAD provides shell aliases for Docker and Podman with colorized output and fuzzy completions to simplify container management commands.
Docker aliases for shells, with colorized output and fuzzy completions for many commands
SCAD is designed for developers and DevOps professionals who frequently interact with Docker or Podman via the command line, aiming to streamline and speed up container management tasks. It offers easy-to-remember aliases and enhanced command-line usability through colorized output and fuzzy completion, making container operations more efficient and less error-prone.
SCAD is optimized for zsh but supports bash and fish with varying results. Users of oh-my-zsh should enable CASE_SENSITIVE="true" for better alias completion. It requires external tools like GRC and jq for colorized output. The tool encourages using Docker management commands over basic commands for clarity and consistency. Podman compatibility is achieved by aliasing docker to podman.
Clone the repository locally
Source the initialization script with `. path/to/scad/init.sh`
dcls
List Docker containers (container ls) with colorized output.
dcb
Build a Docker container (container build).
dcrD
Run a Docker container in detached mode with a specified name.
dc?
Show all Docker container-related commands with descriptions.
d?
Display top-level help listing common and less common Docker alias commands.
dcr --help
Show detailed help for the Docker container run command.
da <search_term>
Search all commands' help descriptions for a keyword (apropos search).