How to install Docker on a Mac: Docker Desktop, OrbStack or Colima
By Pull This RepoPosted 5 min read
Short answer
Installing Docker on a Mac takes one of three routes. Download Docker.dmg for Apple silicon or Intel and drag Docker Desktop into Applications. Or run brew install colima docker, then colima start, for an open source setup. Or install OrbStack, free for personal use only. Then run docker run hello-world in Terminal to check it works.
Installing Docker on a Mac comes down to picking the app that runs the Linux engine for you. Containers need a Linux kernel and macOS does not have one, so every option starts a small Linux virtual machine in the background and hands you the normal docker command. The three common choices are Docker Desktop, the open source Colima, and OrbStack. This guide covers all three, with the licence terms and Apple Silicon notes we read on each project's own pages on 22 November 2026.
Which way of installing Docker on Mac should you pick?
| Docker Desktop | Colima | OrbStack | |
|---|---|---|---|
| Open source | No | Yes, MIT licence | No |
| Price | Free for personal use and small businesses; paid in larger companies | Free | Free for personal, non-commercial use; Pro is 8 US dollars per user per month |
| Install | Docker.dmg or Homebrew cask | brew install colima docker | Download or brew install orbstack |
| Interface | Full desktop app | Terminal only | Desktop app |
| Best for | Following tutorials that assume Docker Desktop | A free, scriptable setup | A light desktop app for personal projects |
If you just want Docker working and you are not at a large company, Docker Desktop is the path most tutorials assume. If you want something fully open source, or you are at a company that would need a Docker subscription, use Colima.
How do you check your Mac's chip first?
Click the Apple menu and choose About This Mac. A line reading Chip with an M-series name means Apple Silicon; a line reading Processor with an Intel name means Intel. Docker Desktop has a separate download for each, and picking the wrong one is an easy mistake to make.
Option 1: How do you install Docker Desktop on a Mac?
Docker's install page lists these requirements:
- A supported macOS. Docker says it supports "the current and two previous major macOS releases."
- At least 4 GB of RAM, on Apple silicon or Intel.
- On Apple silicon, Rosetta 2 is recommended. Docker says it "is no longer strictly required," but some optional command line tools still need it.
Install Rosetta 2 first on an Apple Silicon Mac:
softwareupdate --install-rosettaThen:
- Download the installer for your chip from Docker's Mac install page. Both versions are named
Docker.dmg. - Double-click
Docker.dmgand drag the Docker icon into the Applications folder. - Open Docker.app from Applications.
- Accept the subscription agreement when it appears. Docker's page notes no password is required by default.
If you prefer the terminal, Docker documents this route after downloading the same file:
sudo hdiutil attach Docker.dmg
sudo /Volumes/Docker/Docker.app/Contents/MacOS/install
sudo hdiutil detach /Volumes/DockerDocker notes the install step can take several minutes because macOS runs security checks the first time. Adding --accept-license to it accepts the agreement during install instead of at first launch.
Homebrew users can also install the app as a cask. On 22 November 2026 Homebrew listed it under the name docker-desktop:
brew install --cask docker-desktopNew to Homebrew? Our guide to installing Homebrew covers it.
Is Docker Desktop free for work?
Only for smaller companies. Docker's install page says it is free for personal use, education, non-commercial open source projects and "small businesses (fewer than 250 employees AND less than $10 million in annual revenue)." Commercial use in larger companies, and use by government entities, requires a paid subscription. Docker Desktop itself is not open source, even though the Docker engine inside it is.
Option 2: How do you install Docker on Mac with Colima?
Colima is an open source tool that runs container runtimes in a Linux virtual machine on macOS. On 22 November 2026 its repo, abiosoft/colima, had 31,790 stars, an MIT licence and a latest release of v0.10.3, published 4 June 2026. It supports Intel and Apple Silicon Macs.
Colima starts the engine, but you still need the Docker command line client, which Homebrew installs as a separate formula:
brew install colima dockerStart the virtual machine:
colima startBy default Colima creates a machine with 2 CPUs, 2 GiB of memory and 100 GiB of storage. For heavier work, stop it and start again with more:
colima stop
colima start --cpu 4 --memory 8The README notes disk size can be increased after the machine is created. On Apple Silicon running macOS 13 Ventura or later, you can turn on Rosetta 2 emulation for x86 images:
colima start --vm-type=vz --vz-rosettaColima also installs through MacPorts (sudo port install colima), Nix and Mise. It has no window or menu bar app: you control it from Terminal, and after a reboot you run colima start again before using Docker.
Option 3: How do you install OrbStack?
OrbStack is a desktop app that runs Docker containers and Linux machines. It is not open source; its public GitHub repo is used for issues, not the app's code. Its quick start says you can download it and open it with "no installation needed," or use Homebrew:
brew install orbstackOn 22 November 2026 OrbStack's pricing page listed a Free plan for "Personal, non-commercial use" and a Pro plan for business and commercial use at 8 US dollars per user per month, or 96 dollars billed annually. If you use Docker for paid work, budget for Pro or pick Colima.
How do you test that Docker works on a Mac?
Whichever route you took, open Terminal and run:
docker run hello-worldDocker downloads a tiny test image and prints a message that begins "Hello from Docker!" If you see it, the engine, the client and the network all work. Two more checks:
docker version
docker psdocker version should list both a Client and a Server section. If the Server part shows an error such as "Cannot connect to the Docker daemon," the engine is not running: open Docker Desktop or OrbStack, or run colima start.
Next, try the everyday commands in our Docker commands cheat sheet. If you also run a Linux server, our guide to installing Docker on Ubuntu covers the native setup, where no virtual machine is needed.
Can you run more than one at once?
You can install more than one, but run one at a time. Each sets up its own Docker context, which is the setting that tells the docker command which engine to talk to. If commands go to the wrong engine, list the contexts and switch:
docker context ls
docker context use colimaImages and containers do not move between them automatically, so expect to pull images again after switching.
What is the catch?
Docker on a Mac always runs inside a virtual machine, so it reserves CPU, memory and disk for that machine on top of macOS. Docker Desktop is the one most guides assume but is closed source and needs a paid plan in larger companies. Colima is free and open source but terminal only. OrbStack is polished but closed source and free only for personal, non-commercial use. Pick based on how you will use it, not just on speed.
Pull it. Stash it.
Questions people ask
Is Docker Desktop free on a Mac?
For personal use, education, non-commercial open source and small businesses, yes. Docker's install page says a paid subscription is needed for commercial use in companies with more than 250 employees or more than 10 million US dollars in annual revenue, and for government entities.
Can I run Docker on a Mac without Docker Desktop?
Yes. Colima is an MIT licensed tool that starts a small Linux virtual machine and gives you a working docker command. Install it and the Docker client with brew install colima docker, then run colima start. OrbStack is another option, but it is closed source.
Does Docker work on Apple Silicon Macs?
Yes. Docker Desktop ships a separate Docker.dmg for Apple silicon. Docker recommends installing Rosetta 2 for the best experience, though it is no longer strictly required. Colima can use Rosetta 2 to run x86 images with colima start --vm-type=vz --vz-rosetta on macOS 13 or later.
How much RAM does Docker need on a Mac?
Docker Desktop's install page asks for at least 4 GB of RAM on both Apple silicon and Intel Macs. Colima's default virtual machine uses 2 CPUs, 2 GiB of memory and 100 GiB of disk, and you can raise those with flags such as colima start --cpu 4 --memory 8.
Sources
More repos like this
Get tomorrow's repo in your feed
One free, open source repo a day as a short video, shown working, with the catch named. Pull it. Stash it.
