repository
2.8.0+incompatible
Repository: https://github.com/pungrumpy/dockercolorize.git
Documentation: pkg.go.dev
# README
Dockercolorize š³š
Enhancing Docker output with vibrant colors. Dockercolorize is a command line tool designed to add colors to Docker outputs, making them more visually organized and readable.
šØāš» Installation
šŗ Homebrew
# Tap the formula repository
brew tap PunGrumpy/formulas
# Check tap it's working
brew tap-info PunGrumpy/formulas
brew search PunGrumpy/formulas
# Install the formula
brew install dockercolorize
šŖ Aliases
For a smoother user experience, use these aliases to replace the original Docker commands.
āļø Configuration
Locate the configuration file in ~/.config/dockercolorize/config.json
and edit the color scheme.
// Default color scheme
{
"color": {
"reset": "\u001b[0m",
"black": "\u001b[0;30m",
"darkGray": "\u001b[1;30m",
"red": "\u001b[0;31m",
"lightRed": "\u001b[1;31m",
"green": "\u001b[0;32m",
"lightGreen": "\u001b[1;32m",
"brown": "\u001b[0;33m",
"yellow": "\u001b[1;33m",
"blue": "\u001b[0;34m",
"lightBlue": "\u001b[1;34m",
"purple": "\u001b[0;35m",
"lightPurple": "\u001b[1;35m",
"cyan": "\u001b[0;36m",
"lightCyan": "\u001b[1;36m",
"lightGray": "\u001b[0;37m",
"white": "\u001b[1;37m"
}
}
š Usage
š” docker images
di # alias
docker images [--format] | docker-color-output
š” docker ps
dps # alias
docker ps [-a] [--format] | docker-color-output
š” docker compose ps
ā ļø The latest version works with docker-compose 2.x
.
dcps # alias
docker compose ps | docker-color-output
š” docker stats
ā ļø For the best experience, use the --no-stream
flag. The --no-stream
flag is not supported in Docker Compose.
dstats # alias
docker stats --no-stream | docker-color-output
š” docker history
ā ļø It's cannot be used with aliases because it's a subcommand.
docker history [container] [--format] | docker-color-output