1. home
  2. virtualization
  3. colima-vs-docker-desktop-memory-battery-and-cold-start-numbers

Colima vs Docker Desktop: memory, battery and cold-start numbers

Diego Alvarez Virtualization 1 min read 64 comments 356 views

Both tools run containers in a lightweight Linux VM. The difference is everything around that VM: the GUI, the file sharing, and how much RAM sits reserved while you are not using it.

Cold start

Colima started a 4 GB VM in 11 seconds; Docker Desktop took 19 seconds to reach a green whale. Both were faster on the second start of the day.

Memory and battery

With a Postgres, Redis, and Rails stack idling, Colima's VM used 1.6 GB and Docker Desktop 3.1 GB. Over a four-hour battery test the gap was about 25 minutes of runtime.

File sharing

Both now use VirtioFS. Rails boot times were within a second of each other, which was not true two years ago.

  • Pick Colima if you live in the terminal.
  • Pick Docker Desktop if your team needs the GUI and extensions.
  • Either way, set a memory cap.
terminal
colima start –cpu 4 –memory 4 –vm-type vz –vz-rosetta –mount-type virtiofs
docker context use colima

Simplicity is prerequisite for reliability.

Edsger W. Dijkstra, EWD498 (1975)

Switching between the two changes the active Docker context. Run docker context ls if images seem to have vanished.

$ cat /comments 64

R
Ravi Menon Aug 27, 2026 · 11:32 PM

This is exactly the write-up I needed this week. Bookmarked.

M
Marco Bellini Aug 28, 2026 · 2:02 PM

Tried this on an M1 Air and got the same numbers within a few percent.

D
Diego Alvarez author Sep 8, 2026 · 10:07 AM

Yes, it works the same way. I will add a note about it.

E
Elif Kaya Sep 8, 2026 · 2:14 PM

Any chance you could share the full config in a gist? The snippet is great but I want to see the rest.

E
Elif Kaya Sep 20, 2026 · 5:46 AM

I have been doing this the hard way for years. Thank you.

$ echo "leave a comment"