Skip to main content
Fetches logs from a container. You can follow the logs (-f/--follow), restrict the number of lines shown, or view boot logs.

Usage

container logs [--boot] [--follow] [-n <n>] [--debug] <container-id>

Arguments

container-id
string
required
Container ID

Options

--boot
boolean
Display the boot log for the container instead of stdio
-f, --follow
boolean
Follow log output
-n
number
Number of lines to show from the end of the logs. If not provided this will print all of the logs

Build docs developers (and LLMs) love