Categorygithub.com/PunGrumpy/dockercolorize
repository
2.8.0+incompatible
Repository: https://github.com/pungrumpy/dockercolorize.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# 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.

GitHub Actions Release License Downloads

šŸ‘Øā€šŸ’» 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 images

šŸ’” docker ps

dps # alias
docker ps [-a] [--format] | docker-color-output

docker ps

šŸ’” docker compose ps

āš ļø The latest version works with docker-compose 2.x.

dcps # alias
docker compose ps | docker-color-output

docker compose ps

šŸ’” 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