Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 881 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 881 Bytes

dockerlogs

Overview

Quickly view the logs of multiple containers, with logs colorized by container. Bolded lines are from stderr.

Installation

Binary downloads of the dockerlogs utility can be found on the releases page.

Go users can use

go install github.com/ruckc/dockerlogs@v0

Usage

dockerlogs will by default tail all containers, and their entire log.

dockerlogs

Only tail the api and database containers, last 10 lines.

dockerlogs -t 10 api database

Options

Run dockerlogs -h for usage

$ dockerlogs -h

Usage:
  dockerlogs [OPTIONS] [containers...]

tails multiple containers concurrently

Application Options:
  -t, --tail=       Number of lines to show from the end of the logs (default: all)

Help Options:
  -h, --help        Show this help message