Skip to content

How much RAM does Docker need?

Docker states the memory Docker Desktop itself needs, on each platform. The containers you run come on top, and no vendor publishes a figure for those.

Figures read from the vendors' own pages on 2026-10-20.

What the vendors say

Vendor minimum and recommended RAM for Docker and containers4 GB8 GBDocker Desktop (macOS)4Docker Desktop (WSL 2 backend) (Windows)8Docker Desktop (Linux)4Rancher Desktop8minikube2
Vendor minimumVendor recommendation Gridlines are the RAM sizes Macs come in.

What it does with memory

Docker Desktop runs containers inside a virtual machine, and that memory comes out of the rest of your system. Local Kubernetes tools add a cluster on top.

Signs it is short

  1. 1

    Containers stop without warning

  2. 2

    Builds slow down once several services are up

  3. 3

    Swap grows while the stack runs

The vendor figures are floors for the tool, not for your stack. The sum of your services is what counts. How to read memory pressure.

What more RAM costs

Extra cost per GB of each RAM step, MacBook Air 13-inch, Apple NLMacBook Air 13-inch, M5 Chip: 16 to 24 GB€27,50
Extra cost per GB of each step, in euros, VAT included.

Sources, read 2026-10-20: Apple NL: 16 GB page and 24 GB page; Apple US: 16 GB page and 24 GB page. All steps.

Try these figures in the calculator.

Open the calculator with this workload

Then measure it for real: get SizeMyLaptop and see your own memory pressure over a working fortnight.

Get SizeMyLaptop

  1. Open Terminal

    Press Command and Space, type Terminal, press Return.

  2. Paste it and press Return

    One command installs the tool, checks its checksum, then starts recording. No password, no admin rights.

    curl -fsSL https://sizemylaptop.com/install.sh | bash -s -- --start

    Rather read it first? Download it, read it, then run it:

    curl -fsSLO https://sizemylaptop.com/install.sh && less install.sh && bash install.sh --start
  3. Done. Keep working as usual.

    After one to two weeks, run baseline report in Terminal (the installer prints the exact command). It stops recording by itself after 14 days and the report opens in your browser.

Free. Nothing leaves your Mac unless you click Share. No password, no admin rights. Needs Python 3 (a Mac without it shows Apple's one-time install window); installs nothing else.