RepoFlow Team · Oct 29, 2025

Benchmarking Apple Containers vs Docker Desktop

A practical performance comparison between Apple’s native container system and Docker Desktop on macOS.

On macOS Tahoe, Apple introduced Apple Container, a Swift based tool for creating and running Linux containers as lightweight virtual machines on Apple silicon.
We benchmarked it against Docker Desktop to compare performance across CPU, memory, disk, and startup speed.

Tests We Ran

Each test used the same Alpine 3.20 image and identical configurations, isolated from caches.
  1. CPU performance (1 thread and all threads) using Sysbench
  2. Memory throughput using Sysbench (1 MiB blocks, total 4 GiB transfer)
  3. Container startup time
  4. Sequential disk I/O using FIO (read and write)

CPU

Two views in one chart: single thread vs all threads. Values are sysbench events per second.

Memory throughput

Higher numbers are better. Values are MiB per second.

Startup time

Time to run a tiny container that exits. Lower is better.

Host Filesystem Read & Write Speeds

We grouped all reads and all writes into two charts.
Each bar in the charts corresponds to one benchmark configuration, defined by:
  1. the file size used during the test (e.g., 128 MB, 1 GB, 4 GB)
  2. the block size for read or write operations (e.g., 4 KB, 64 KB, 1 MB)

How the Tests Were Performed

We measured each test 20 times and average the result. We let the Mac cool down for a full hour before running the benchmark again.
  1. CPU: sysbench cpu --max-time=60 with 1 thread, then with all available threads.
  2. Memory: sysbench memory --memory-block-size=1M --memory-total-size=4G --threads=<all>
  3. Startup: run a minimal container and record wall time after images are present.
  4. Read & Write Speeds: fio sequential read and write using a host bind mount.
  5. Hardware: We used a brand new M4 Mac mini (clean macOS install, no background apps).
  6. Apple Container: We tested the latest version 0.6.0.
  7. Docker Desktop: We tested version 4.47.0.

Final Thoughts

It’s exciting to see Apple working on their own container implementation.
Although Apple Container didn’t win every benchmark, it performed impressively in CPU and memory throughput.
Given that it’s still at version 0.6.0, there’s clear potential, especially if deeper integration with Docker Desktop arrives in the future.

Let us know which benchmark you’d like to see next !

Share article

Tutorial
Mirror Debian and Ubuntu Repositories
Tutorial
Mirror the Entire PyPI Repository with Bash
Release
Run a Private Docker Registry on Your iPhone