Skip to main content
Show logs from a container of a running pod or sandbox. The target is addressed as pod/<name> or sandbox/<name>. With no —tail, —since, or —follow, the command prints all currently available logs and exits. Use —follow to keep the stream open until interrupted.

Usage

Flags

Inherited flags

Examples