Ditching Docker Desktop

How we learned to run Docker natively and save 55k a year!

Ditching Docker Desktop
Photo by Rubaitul Azad / Unsplash

Lately, I have been part of a weird discussion at the office:

Should we buy Docker-Desktop or not?

On one side, it's just 5$ per month per dev; and it doesn't seem much of a big deal.

But when you scale this up to about 900+ engineers, as in my current organization, the yearly cost quickly ramps up to a staggering 55.000$!

Although this is just a drop in the ocean for such a large organization, it is still the equivalent of a Senior Engineer in the Italian market.

So, a new question that pops up in my mind:

Is Docker-Desktop worth one Senior Engineer?

It depends, of course.
It always does!


Stack Considerations

Our general stack calls for a simple docker-compose.yml file that is supposed to run the local services needed to work on a piece of our extensive offering.

Backend or Frontend, it is still Docker that fuels our dev environment.

On top of this, we're experimenting a lot with Dev-Containers using VSCode.

Classic Senior Developer, according to ChatGPT

So, we are not running any weird stuff locally. We're not even (yet) running local Kubernetes... Docker-Compose is simple and powerful enough to manage a moderately complex scenario.


Colima to Rescue!

If you follow my posts, you may guess I've asked ChatGPT how to do so... but it miserably failed. The bot simply proposed I install Docker via Homebrew... with the cask command that would install Docker Desktop! D'oh!

Luckily, I've found out that good old Google is still running somewhere in the cloud! And it still hands out pretty good answers to known problems.

The solution to my problem, at least on my Mac, is an open-source project called Colima. It's a container runtime and so far it works pretty well for me.

GitHub - abiosoft/colima: Container runtimes on macOS (and Linux) with minimal setup
Container runtimes on macOS (and Linux) with minimal setup - abiosoft/colima

My final setup is composed as such:

  • Colima as container runtime
  • Docker CLI as interface to running containers
  • Docker Compose to coordinate container-based projects
  • CTOP to visualize my running containers
  • Docker extension on VSCode

The Source Code

Here is the gist of the Homebrew instructions to run this solution:

The End

  • I'm happy with this setup
  • My boss can drive a shiny new Tesla with the savings!