nerdctl VS Docker Compose

Compare nerdctl vs Docker Compose and see what are their differences.

nerdctl

contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ... (by containerd)
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
nerdctl Docker Compose
38 428
9,261 36,058
1.3% 0.5%
9.8 9.8
5 days ago 5 days ago
Go Go
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nerdctl

Posts with mentions or reviews of nerdctl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-23.
  • Kubernetes Without Docker: Why Container Runtimes Are Changing the Game in 2025
    7 projects | dev.to | 23 Apr 2025
    nerdctl CLI for containerd (Docker replacement) Feels like Docker. But lighter. And hipster-approved.
  • How to be Test Driven with Spark: Chapter 5: Leverage spark in a container
    7 projects | dev.to | 15 Mar 2025
    If you are unfamiliar with the concept of containers and docker images, I suggest you have a look at docker. It will be leveraged here to start the Spark server for the tests; it's important to mention there are other opensource alternatives like podman or nerdctl to allow containerization.
  • Creating containers with containerd on ARM
    3 projects | dev.to | 23 Feb 2025
    NERDCTL_VERSION=2.0.3 wget https://github.com/containerd/nerdctl/releases/download/v2.0.3/nerdctl-$NERDCTL_VERSION-linux-arm64.tar.gz tar -xzvf nerdctl-$NERDCTL_VERSION-linux-arm64.tar.gz -C /sbin CNI_VERSION wget https://github.com/containernetworking/plugins/releases/download/v1.6.2/cni-plugins-linux-arm64-vCNI_VERSION.tgz mkdir -p /opt/cni/bin tar -xzvf cni-plugins-linux-arm64-vCNI_VERSION.tgz -C /opt/cni/bin
  • Techniques I Use to Create a Great User Experience for Shell Scripts
    16 projects | news.ycombinator.com | 13 Sep 2024
    Here's a script that left me in awe the first time I saw it:

    https://github.com/containerd/nerdctl/blob/main/extras/rootl...

    I have since copied this pattern for many scripts: logging functions, grouping all global vars and constants at the top and creating subcommands using shift.

  • 5 Alternatives to Docker Desktop
    7 projects | dev.to | 24 Jul 2024
    Rancher Desktop allows you to choose between the Moby engine (offered by Continered) and the dockerd engine (offered by Docker) for building, pushing, and running containers. Compared with Docker Desktop, which provides Docker CLI as a CLI tool, Rancher provides both kubectl and nerdctl for managing Kubernetes and containers, respectively.
  • Colima k8s nix setup
    4 projects | dev.to | 16 Apr 2024
    What about the docker-cli? colima also ships with a docker-compatible cli to interact with containerd called nerdctl. We can execute the same docker cli commands like:
  • Nerdctl v2 Beta
    1 project | news.ycombinator.com | 1 Feb 2024
  • Nginx Unit – Universal web app server
    17 projects | news.ycombinator.com | 10 Sep 2023
    Using nerdctl: https://github.com/containerd/nerdctl

    I'd really disagree that compose files are somehow one-shot, or blindly modified. To the contrary, really, we have them checked in with the source code. Upon deployment to the cluster, the (running) services will be intelligently updated or replaced (in a rolling manner, causing zero downtime). LXC might be more elegant, but I have no idea what simple, file-based format I could use to let engineers describe the environment their app should run in without compose.

    I need something that even junior devs can start up with a single command, that can be placed in the VCS along with the code, and that will not require deep Linux knowledge to get running. Open for suggestions here, really.

  • Jenkins Agents On Kubernetes
    7 projects | dev.to | 4 Sep 2023
    Now since Kubernetes works off of containerd I'll be taking a different approach on handling container builds by using nerdctl and the buildkit that comes bundled with it. I'll do this on the amd64 control plane node since it's beefier than my Raspberry Pi workers for handling builds and build related services. Go ahead and download and unpack the latest nerdctl release as of writing (make sure to check the release page in case there's a new one):
  • Going through a Kubernetes training with autogenerated captions and about half are coming up like this.
    1 project | /r/kubernetes | 29 Jun 2023
    That's why nerdctl, their cli binary, is so well named.

Docker Compose

Posts with mentions or reviews of Docker Compose. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-08-09.
  • Compiling Docker in RISC-V
    8 projects | dev.to | 9 Aug 2025
    sudo mkdir -p /usr/libexec/docker/cli-plugins # docker compose cd /tmp && \ wget -O docker-compose https://github.com/docker/compose/releases/download/v2.38.2/docker-compose-linux-riscv64 && \ chmod +x docker-compose && \ sudo mv docker-compose /usr/libexec/docker/cli-plugins && \ wget -O docker-buildx https://github.com/docker/buildx/releases/download/v0.26.1/buildx-v0.26.1.linux-riscv64 && \ chmod +x docker-buildx && \ sudo mv docker-buildx /usr/libexec/docker/cli-plugins
  • Install Docker on Linux
    1 project | dev.to | 20 Jul 2025
    sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose
  • Hosting n8n on AWS EC2 with Docker
    2 projects | dev.to | 6 Jul 2025
    Step 4:Install Docker Compose: Now we install Docker Compose using the command: sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" \ -o /usr/local/bin/docker-compose
  • Compose Spec Updated with <models> for AI Workloads
    1 project | news.ycombinator.com | 2 Jul 2025
  • Website behind Active Directory/LDAP with Nginx
    3 projects | dev.to | 6 May 2025
    $ sudo yum install docker git -y $ sudo systemctl enable --now docker $ # Attention: You need IPv4 to download from GitHub! $ sudo curl -L \ "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" \ -o /usr/local/bin/docker-compose $ sudo chmod +x /usr/local/bin/docker-compose $ sudo usermod -aG docker $(whoami) # Log in to the instance again
  • Deploy a Django Rest Api on AWS EC2 using Docker, NGINX, Gunicorn and GitHub Action.
    3 projects | dev.to | 24 Apr 2025
    [ec2-user]$ sudo yum update -y [ec2-user]$ sudo yum install -y docker [ec2-user]$ sudo service docker start [ec2-user]$ sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose [ec2-user]$ sudo chmod +x /usr/local/bin/docker-compose [ec2-user]$ docker --version Docker version 20.10.23, build 7155243 [ec2-user]$ docker-compose --version Docker Compose version v2.18.1
  • Docker Compose: Make –detach (or –follow) the default behaviour on up
    1 project | news.ycombinator.com | 1 Apr 2025
  • Quadlet: Running Podman containers under systemd
    12 projects | news.ycombinator.com | 23 Mar 2025
    If you're a fan of compose files, then you can use Docker's own compose application [1] with Podman [2]. It seems that the compose cli controls the engine using its socket. Both podman and docker engines have the almost same API. I'm using this approach since podman-compose didn't work as expected for me. Docker-compose is usually installed as a plugin for the docker client. However, I use it as a standalone application for use with Podman. In addition, I prefer using docker 'contexts' instead of the DOCKER_HOST environment variable to set up the integration.

    Another relevant project is podlet [3]. It can be used to convert compose files, podman/docker command or a running object to a set of quadlet files. Also, note that if plain quadlets aren't powerful enough for you, quadlets [4] and plain podman [5] also support running a limited set of kubernetes manifests.

    [1] https://github.com/docker/compose

    [2] https://docs.podman.io/en/latest/markdown/podman-system-serv...

    [3] https://github.com/containers/podlet

    [4] https://docs.podman.io/en/latest/markdown/podman-systemd.uni...

    [5] https://docs.podman.io/en/latest/markdown/podman-kube-play.1...

  • Deploying a FastAPI Application with CI/CD Pipeline: HNG Task 3
    1 project | dev.to | 10 Feb 2025
    name: CD Pipeline on: push: branches: [main] jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v3 - name: Deploy via SSH uses: appleboy/ssh-action@master with: host: ${{ secrets.SSH_HOST }} username: ${{ secrets.SSH_USERNAME }} key: ${{ secrets.SSH_PRIVATE_KEY }} script: | # Update package index and install dependencies sudo apt-get update -y sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common # Add Docker's official GPG key curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" # Install Docker sudo apt-get update -y sudo apt-get install -y docker-ce docker-ce-cli containerd.io # Add the SSH user to the Docker group sudo usermod -aG docker ${{ secrets.SSH_USERNAME }} # Install Docker Compose sudo curl -L "https://github.com/docker/compose/releases/download/v2.20.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose # Verify installations docker --version docker-compose --version # Navigate to the project directory and deploy cd /home/ubuntu/ git clone cd fastapi-book-project/ git pull docker-compose up -d --build
  • Implementação de WordPress Escalável na AWS com Docker, RDS e EFS
    2 projects | dev.to | 7 Feb 2025

What are some alternatives?

When comparing nerdctl and Docker Compose you can also consider the following projects:

podman - Podman: A tool for managing OCI containers and pods.

supervisor - Supervisor process control system for Unix (supervisord)

Moby - The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

Portainer - Making Docker and Kubernetes management easy.

lima - Linux virtual machines, with a focus on running containers

Cloud-Init - unofficial mirror of Ubuntu's cloud-init

Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured

Did you know that Go is
the 4th most popular programming language
based on number of references?