dockerate

module
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2022 License: MIT

README

Dockerate

Go MIT license GitHub release Go Report Card

Decorate docker commands output.

Installation

Here are two ways to install Dockerate on your system:

  • Download pre-compiled binaries on the releases page

  • Compile from source code

    • download and install Go (1.16+) if you haven't installed it yet
    • get Dockerate sources: go get github.com/olshevskiy87/dockerate
    • move to sources folder: cd $GOPATH/src/github.com/olshevskiy87/dockerate
    • install all dependencies (including golangci-lint): make deps
    • compile binary for your platform and architecture: make build or just make

Commands

dockerate-ps

Displays docker containers info like docker ps.

Usage: dockerate-ps [--all] [--no-trunc] [--quiet] [--size] [--color COLOR] [--name-like NAME-LIKE] [--name-ilike NAME-ILIKE] [--columns COLUMNS] [--apiver APIVER] [--verbose]

Options:
  --all, -a              show all containers
  --no-trunc             don't truncate output
  --quiet, -q            only display containers IDs
  --size, -s             display containers sizes
  --color COLOR          when to use colors: always, auto, never [default: auto]
  --name-like NAME-LIKE
                         container name pattern
  --name-ilike NAME-ILIKE
                         container name pattern (case insensitive)
  --columns COLUMNS, -c COLUMNS
                         columns names to display (case insensitive, separated by commas)
  --apiver APIVER        docker server API version, env DOCKER_API_VERSION
  --verbose, -v          output more information
  --help, -h             display this help and exit
  --version              display version and exit

Motivation

Package docker-color-output written in PHP by Sergey Sorokin.

License

MIT. See file LICENSE for details.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL