nerdctl is a command-line tool that manages containers and images using containerd as the runtime, providing a Docker-compatible interface for container lifecycle management. It supports running containers with the same command syntax and flags as Docker, including multi-container Compose workflows, and enables rootless container execution without host kernel escalation.
The tool extends beyond basic container management with several advanced distribution and security capabilities. It can start containers before full image download by fetching only metadata and on-demand layers from eStargz-formatted images, and can pull and run images from content-addressed identifiers on a peer-to-peer IPFS network. For security, it encrypts and decrypts image layers using OCIcrypt specifications with configurable cryptographic keys, and signs and verifies images using cosign.
nerdctl also integrates with Kubernetes for debugging and image management, allowing inspection of running containers and reading their logs by targeting the k8s.io containerd namespace, as well as loading image archives directly into a local cluster without needing a registry. Image building is handled through BuildKit delegation, supporting standard build commands and output options from a Dockerfile.