container-log(1)

container-log1

Show container log

Usage

container log ['OPTIONS']

Overview

The container log command shows the container log.

Options

The following container log options are available:

-d, --date:

Show only log entries of the specified date as 'YYYY-MM-DD' or a date range like 'today-7'.

-n, --name:

Show only log entries for the specified container.

Examples

Show all log entries:

sudo container log

Show only log entries of today:

sudo container log -d today

Show only log entries of yesterday:

sudo container log -d yesterday

Show all log entries of the example.net container:

sudo container log -n example.net

Show only log entries of the example.net container of the last 30 days:

sudo container log -d today-30 -n example.net

Homepage

More information about compute-tools and the Open Infrastructure project can be found on the homepage ( <https://open-infrastructure.net> ).

Contact

Bug reports, feature requests, help, patches, support and everything else are welcome on the Open Infrastructure Software Mailing List < <[email protected]> >.

Debian specific bugs can also be reported in the Debian Bug Tracking System ( <https://bugs.debian.org> ).

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

--date until Debian 11 (Bullseye); --name until Debian 11 (Bullseye); -d until Debian 11 (Bullseye); -n until Debian 11 (Bullseye).

Authors

compute-tools were written by Daniel Baumann < <[email protected]> > and others.

From open-infrastructure-compute-tools 20250604-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.