Docker Desktop on macOS: Apple Silicon (M1/M2/M3) Installation & Optimization
Downloading Docker Desktop for ARM64 Apple Silicon, Rosetta 2 setting, Virtualization framework (VirtioFS), resource limits, and CLI verification.
Published on • October 24, 2026
AI Assistant

macOS developers working on Apple Silicon (M1, M2, M3, M4) Macs require high-performance local container execution. Docker Desktop for Mac delivers native ARM64 container execution, GUI management, Kubernetes integration, and fast file sync via VirtioFS.
In this guide, we walk through installing and optimizing Docker Desktop on macOS for maximum development speed.
Step 1: Download & Install Docker Desktop
Identify your Mac’s CPU architecture (uname -m):
- Apple Silicon (ARM64): Download
Docker.dmgfor Apple Chip. - Intel (x86_64): Download
Docker.dmgfor Intel Chip.
Or install via Homebrew Cask:
brew install --cask docker
Launch Docker Desktop from Applications and grant necessary privileged helper installer permissions.
Step 2: Optimizing Virtualization Settings for Apple Silicon
To maximize I/O performance when mounting project folders into containers, configure Docker Desktop settings (Settings -> General and Settings -> Virtualization):
- Virtualization Framework: Enable
Use Virtualization framework(macOS native hypervisor). - File Sharing Implementation: Select
VirtioFS(delivers 10x faster file system access fornode_modulesand vendor mounts compared to legacy gRPC-FUSE). - Rosetta 2 for x86_64 Emulation: Check
Use Rosetta for x86/amd64 emulation on Apple Silicon. This accelerates running legacyamd64Docker images on ARM64 Macs via Apple’s hardware-accelerated Rosetta engine.
+-------------------------------------------------------------+
| Docker Desktop macOS Settings |
+-------------------------------------------------------------+
| [x] Use Virtualization framework |
| [x] File Sharing: VirtioFS (Fastest I/O) |
| [x] Use Rosetta for x86_64 emulation on Apple Silicon |
+-------------------------------------------------------------+
Step 3: Configuring RAM and CPU Allocations
In Settings -> Resources -> Advanced, allocate appropriate hardware resources based on your Mac’s specs:
- CPUs: Set to 50% of available CPU cores (e.g. 6 or 8 cores on M-Pro/Max).
- Memory: Set to 8GB – 16GB for heavy local microservice setups.
- Swap: Set to 1GB – 2GB.
Step 4: Verifying Installation via macOS Terminal
Verify CLI access and multi-architecture build support:
# Verify version
docker --version
docker compose version
# Verify ARM64 native architecture
docker run --rm alpine uname -m
# Output: aarch64
# Test running x86_64 container via Rosetta 2
docker run --rm --platform linux/amd64 alpine uname -m
# Output: x86_64
Conclusion
With VirtioFS and Rosetta 2 enabled, Docker Desktop on Apple Silicon Macs delivers rapid build times and seamless multi-platform container development.