Skip to content

ruckc/dockerlogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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