ctr
TLDR
List all containers
$ ctr containers list
List all images$ ctr images list
Pull an image$ ctr images pull [image]
Tag an image$ ctr images tag [source_image]:[source_tag] [target_image]:[target_tag]
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.
SEE ALSO
containerd(8), crictl(1), nerdctl(1)


