Docker alternatives: Podman, nerdctl and friends

Intermediate · 6 min

Podman, nerdctl, Colima, Rancher Desktop, OrbStack and Apple's container run the same OCI images. How each differs from Docker and when to pick one.

Before thisThe OCI standards: image, runtime and distributionInstalling Docker Engine and Docker Desktop

Better Stack · 6 min

Docker alternatives: Podman, nerdctl and friends

The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.

Taught by Better StackReport a problem with this video
Not started
Set this lesson's status

What you'll learn

  • Every tool here builds or runs OCI images, so an image works across all of them. What differs is the daemon, the default privileges and the extras.
  • Podman has no central daemon. Each container is a child of the podman command or of systemd, and rootless is the normal way to run it.
  • Podman adds pods, which group containers that share a network namespace, and Quadlet files, which turn containers into systemd services.
  • nerdctl is a Docker-compatible CLI for containerd, with Compose support and extras such as lazy-pulled images, and no dockerd involved.
  • On a Mac every option runs Linux in a VM. Colima, Rancher Desktop, OrbStack and Podman machine differ in licence and polish, and Apple's container gives each container its own VM.
  • Compatibility is close but not exact. Short image names, socket paths, Compose and networking behaviour are where a migration usually bites.

Why look elsewhere

Docker made containers usable, but some teams have reasons to step away. Docker Desktop needs a paid subscription in companies over 250 people or $10 million in revenue. Some operators don’t want a root daemon on every host. Kubernetes nodes stopped using dockerd years ago. Red Hat’s distributions ship Podman, not Docker.

The OCI standards make this a real choice. An image built by one tool is an image for all of them, the way any DVD player plays any DVD. What you’re choosing is the player: who runs the containers, with what privileges, and with which extras.

Podman

Podman is the biggest alternative, now at version 6 and hosted in a CNCF organization. Its defining choice is no central daemon. podman run forks the container (through a small monitor, conmon) and that’s it. There’s no dockerd holding every container on the machine, so there’s nothing central to crash and nothing root-owned to talk to.

Rootless is the default way to use it. A normal user runs podman run and gets a container in a user namespace where they are root inside and themselves outside. Docker can do this too, with rootless mode, but it’s an add-on there.

Podman adds two ideas Docker lacks:

  • Pods. podman pod create makes a group of containers sharing one network namespace, like a Kubernetes pod. podman kube generate and podman kube play convert to and from Kubernetes YAML.
  • Quadlet. A .container file in ~/.config/containers/systemd/ becomes a systemd service, so systemd starts, restarts and logs the container. That replaces Docker’s restart policies with the init system’s.
# ~/.config/containers/systemd/web.container   (from Podman's Quadlet docs, not run here)
[Container]
Image=docker.io/library/nginx:1.31
PublishPort=8080:80

[Install]
WantedBy=default.target

The CLI copies Docker’s, and alias docker=podman gets you far. Where it bites:

  • Short names. Docker always expands postgres to docker.io/library/postgres. Podman checks an alias list and otherwise asks, or searches the registries in registries.conf. I downloaded the shared shortnames.conf: it has 137 entries, nginx, alpine and ubuntu map to Docker Hub, fedora maps to Fedora’s registry, and postgres isn’t in it. Write full names in scripts.
  • The socket. Tools that expect /var/run/docker.sock need podman system service or the podman.socket unit, and DOCKER_HOST pointed at it.
  • Version 6 dropped things. Its release notes list removal of cgroup v1, iptables, CNI and slirp4netns support, and of Intel Macs and Windows 10. Old hosts and old guides may not apply.

containerd with nerdctl

containerd is already on every Docker host and most Kubernetes nodes. nerdctl is a Docker-compatible CLI for it: nerdctl run, nerdctl build (through BuildKit) and nerdctl compose up behave like their Docker counterparts with no dockerd involved. Its README lists extras Docker doesn’t have built in, such as lazy pulling (start a container before the whole image downloads) and encrypted images. It’s the natural pick on a host that already runs containerd for Kubernetes, and it’s the engine inside some desktop tools.

On a Mac or Windows laptop

A Linux container needs a Linux kernel, so every option on a Mac is a VM plus a CLI:

Tool What it is Licence
Docker Desktop Docker’s VM, Engine, GUI, extensions Free only for small businesses and personal use
Colima Lima VM running Docker, containerd or Incus; use the normal docker CLI Open source
Rancher Desktop VM with dockerd (moby) or containerd/nerdctl, plus optional Kubernetes Open source
Podman Desktop / podman machine Podman in a VM, with a GUI Open source
OrbStack Fast Mac-only VM for Docker and Linux machines Proprietary, paid for commercial use
Apple container One lightweight VM per container, Apple silicon, macOS 26 or later Open source

Apple’s tool is the odd one out: instead of one shared Linux VM, its README says each container runs in its own lightweight VM. That’s stronger isolation between containers, closer to the microVM idea.

Choosing

  • Linux server, Docker workflows: Docker Engine is free and fine.
  • RHEL family, systemd-managed services, rootless by default: Podman with Quadlet.
  • Kubernetes node or containerd already present: nerdctl.
  • Mac laptop in a larger company: Colima or Rancher Desktop to stay free and use the docker CLI, Podman Desktop to switch tooling.

Whatever you pick, test your Compose files, socket-mounting tools and CI scripts before switching a team.

About the video

The embed is all of Better Stack’s “Podman vs Docker in 2026: What’s Really Different?”, November 2024, 6 minutes. Its chapters cover what Podman is, pods, the architecture difference (daemonless versus a daemon), a demo, security and the ecosystem. The 2026 in the title was added later. The video predates Podman 6, so its version details may be old, and it covers Podman only. nerdctl and the Mac tools come from this lesson and the deeper links. English was judged from its “English original” audio track and English captions. DevOps Toolbox in deeper goes further into hands-on Podman, pods and Kubernetes YAML.

What was run: the release data for Podman, nerdctl, Colima, Rancher Desktop and Apple’s container came from the GitHub releases API, the READMEs were read from GitHub, and shortnames.conf was downloaded and searched. None of these tools was installed or run. The Quadlet file is from Podman’s documentation, not tested here. Checked 2026-11-28.

Where this fits

That ends what Docker is. Next, running containers, starting with docker run and the container lifecycle.

Check yourself

  1. 01Why can't you simply alias docker=podman and expect every script to work?

    Most commands match, but details differ: Podman may not resolve short names the way Docker does, tools that talk to /var/run/docker.sock need Podman's API socket enabled, and rootless networking and Compose behaviour aren't identical.

  2. 02What does a Podman pod give you that a plain container doesn't?

    Several containers sharing one network namespace, so they reach each other on localhost and publish ports once, which mirrors a Kubernetes pod.

  3. 03Your company has 600 staff and developers use Docker Desktop on Macs. What are the free options if you don't buy subscriptions?

    Run Linux containers through Colima, Rancher Desktop or Podman machine, all open source, or Apple's container on macOS 26. OrbStack is proprietary and needs a paid licence for commercial use.

  4. 04Why does Podman's lack of a daemon matter when the Docker daemon restarts or crashes?

    Nothing central owns the containers, so there's no daemon to take them down, and a container started by a user runs with that user's privileges rather than through a root service.

Go deeper

Notes

Private to you

Esc
↑↓ navigate↵ open? shortcuts

Keyboard shortcuts

Press Esc to close

Anywhere

⌘K
Search and commands
/
Search
?
This sheet
Esc
Close

Reading a lesson

J
Next lesson
K
Previous lesson
B
Bookmark