ctr
Containerd command-line client
TLDR
List all containers
SYNOPSIS
ctr [global options] command [arguments]
DESCRIPTION
ctr is the command-line client for containerd, the industry-standard container runtime. It provides low-level container and image management capabilities.
Unlike Docker CLI, ctr is designed for debugging and direct containerd interaction rather than general use. Kubernetes typically uses containerd through crictl instead.
PARAMETERS
containers list
List all containerscontainers rm id
Remove a containerimages list
List all imagesimages pull ref
Pull an imageimages push ref
Push an imageimages tag source target
Tag an imagerun image containerid_
Run a container
CAVEATS
Low-level tool primarily for debugging. For Kubernetes environments, use crictl. For general Docker-like experience, use nerdctl. Requires root or containerd socket access.
HISTORY
ctr is part of containerd, which was originally developed by Docker Inc. and donated to the Cloud Native Computing Foundation (CNCF) in 2017. containerd became a graduated CNCF project and is now the standard container runtime for Kubernetes and many other platforms.
SEE ALSO
containerd(8), crictl(1), nerdctl(1)
