Skip to content

nerdctl

Docker-compatible command-line client for containerd users, with lazy-pulling and image

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

79

Health

Thriving

Overview

Stars

10,496

Last commit

today

Nov 2026

Repository age

5 years

since Dec 2020

Latest version

v2.4.2

Oct 2026

Contributors

–

14 active in 90 days

Releases

11

last 12 months

Language

Go

nerdctl is a command-line tool for containerd that mirrors the Docker CLI. If you know docker run, docker build or docker compose, the same commands work, for example nerdctl compose up. It is written in Go and runs on Linux, with a Homebrew formula for macOS.

Beyond Docker's basics it supports optional features: rootless mode without slirp overhead, lazy-pulling of images with Stargz, Nydus or OverlayBD, encrypted images through ocicrypt, P2P image distribution over IPFS, and image signing and verification with cosign. Builds use BuildKit. Running containers needs CNI plugins installed alongside containerd.

It is a non-core sub-project of containerd under the Apache-2.0 license. It also helps with debugging Kubernetes, since you can list and build images in the k8s.io namespace. It is a partial alternative to Docker. It has no graphical interface, no built-in Windows support and no bundled local Kubernetes cluster.

Who it's for

Engineers running containerd directly

It gives containerd a Docker-style CLI without installing the Docker daemon.

Skip if: You want a graphical desktop app for managing containers.

Kubernetes operators debugging nodes

You can list containers and build images in the k8s.io namespace on a node.

Skip if: You only use kubectl and never touch the container runtime.

Teams wanting encrypted or lazily pulled images

It supports ocicrypt and Stargz, Nydus and OverlayBD lazy-pulling.

Skip if: Standard image pulls already meet your needs.

The problem it solves

containerd has no friendly CLI of its own, and Docker brings a full daemon you may not want. nerdctl gives you familiar Docker commands directly on containerd.

Strengths

  • Same commands as docker, including compose support
  • Optional rootless mode without slirp overhead
  • Supports lazy-pulling with Stargz, Nydus and OverlayBD
  • Supports encrypted images and cosign signing and verification
  • Apache-2.0 license with 11 releases in the last year

Trade-offs

  • No graphical management interface
  • No built-in Windows support
  • No bundled local Kubernetes cluster
  • Needs CNI plugins, and BuildKit for builds

nerdctl replaces

Self-host nerdctl

Self-hostable
No (desktop or local app)

Quick start

# nerdctl run -it --rm alpine

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is nerdctl free?

Yes. It is open source under the Apache-2.0 license.

Does it support Docker Compose files?

Yes. Run nerdctl compose up with your docker-compose.yaml.

Can I run it rootless?

Yes. Rootless mode is optional and works without slirp overhead through bypass4netns.

What else do I need to install?

You need containerd and CNI plugins. BuildKit is needed only if you use nerdctl build.

Other Docker alternatives

Compare all 6 Docker alternatives →

Similar tools in Containers and Docker tools

dockpeek

Containers and Docker tools

Lightweight Docker dashboard for opening, monitoring and updating containers on your hosts

2.1k 110 4 months ago Dormant MIT

Podman Desktop

Containers and Docker tools

Graphical container and Kubernetes manager for developers who want a free Docker Desktop

8.2k 600 today Thriving Apache-2.0

Replaces Docker Desktop

kiri

Containers and Docker tools

Lightweight container runtime that replaces Docker Desktop on Mac, Windows and Linux

13k 622 today Thriving Apache-2.0

arcane

Containers and Docker tools

Web UI for managing Docker containers, images, volumes, networks and Compose projects

10k 587 today Thriving BSD-3-Clause

drydock

Containers and Docker tools

Container image update watcher with web UI for Docker homelabs and small servers

281 13 today Slowing MIT

monocker

Containers and Docker tools

198 10 2 years ago Dormant Unknown