Skip to main content
Open an interactive shell in a container of a running pod or sandbox. The target is addressed as pod/<name> or sandbox/<name>. The shell defaults to /bin/sh; use —shell to launch a different one, and —container to select a container when the workload has more than one. Detach from the session with the —detach-keys sequence.

Usage

Flags

Inherited flags

Examples