I lastly changed Docker Desktop with a extra tweakable, terminal-friendly various

Docker Desktop is the default option to run containers on a Mac, however it’s not the one one. Colima, a free open-source runtime pushed completely from the terminal, presents a lighter and extra configurable various. Here is what it’s, the way it compares, and who ought to change.
What’s Colima?
A command-line option to run containers on a Mac
Colima is an open-source software that runs container runtimes on macOS and Linux with as little setup as attainable. The title stands for Containers on Lima, a reference to the Lima mission, which launches light-weight Linux virtual machines. Colima wraps that equipment in a easy command-line interface, so a single command boots a small Linux VM and configures every part your Mac wants to speak to it.
By default, Colima makes use of Docker as its runtime, which suggests the common docker shopper works as soon as the VM is up. The shopper is a separate set up, normally by means of Homebrew, and after you run colima begin, instructions like docker ps and docker run behave the best way they at all times have. Colima additionally helps containerd, which you’ll be able to drive with nerdctl, and Incus for system containers and digital machines. Kubernetes is offered as an non-compulsory add-on for the Docker and containerd runtimes, switched on with a single flag.
The mission is launched underneath the MIT license and runs on Intel and Apple Silicon Macs in addition to Linux. It might be put in by means of Homebrew, MacPorts, Nix, and Mise. Out of the field, it handles port forwarding and quantity mounts mechanically, two chores that usually journey up newcomers to VM-based container setups. It can even run a number of remoted cases aspect by aspect, which is useful when completely different tasks want separate environments.
Colima is just not an obscure experiment. Its GitHub repository has handed 30,000 stars, and Thoughtworks has known as it a go-to various to Docker Desktop on macOS. What it intentionally lacks is a graphical interface. There is not any dashboard, no tray icon, and no extension market. Everything occurs by means of instructions and a configuration file, which is strictly the enchantment for individuals who already dwell in a terminal.
Why is it higher?
Lower prices and finer management over your container VM
The first argument is price. Docker Desktop is free for private use, training, non-commercial open-source work, and small companies with fewer than 250 workers and underneath $10 million in annual proceeds. Larger corporations want a paid subscription for business use. Colima is MIT-licensed and free for everybody, which takes licensing out of the dialog completely.
The second argument is management. The default VM is modest, with two CPUs, 2 GiB of reminiscence, and 100 GiB of storage, however you’ll be able to change these numbers with flags corresponding to –cpu, –memory, and –disk, or by working colima begin –edit to open a configuration file. Resizing an present VM means stopping it and beginning it once more with new values, though disk area might be elevated after creation. Because the VM is barely as massive as you make it, you determine how a lot of your machine the container runtime is allowed to make use of.
Apple Silicon house owners get additional choices. Colima can use Apple’s virtualization framework with Rosetta 2 emulation, which helps when you might want to run x86 photos. It additionally helps GPU-accelerated containers for AI workloads by means of the krunkit VM sort, a characteristic that requires Apple Silicon and a latest model of macOS. Multiple cases allow you to maintain, for instance, a Kubernetes-enabled atmosphere aside from a plain Docker one.
The third argument matches. Because Colima is a command-line software, it slots simply into dotfiles, shell scripts, and setup automation. It begins while you ask it to and stops while you don’t want it, as a substitute of sitting within the menu bar as a full desktop software. Whether that makes it higher will depend on what you worth, however for individuals who need a runtime that stays out of the best way, the case is a powerful one.
Should you utilize it?
Great for terminal customers, much less so for everybody else
Colima makes essentially the most sense for builders on macOS or Linux who’re snug in a terminal and need a lean container setup. If your employer has greater than 250 workers or crosses the proceeds threshold, it additionally presents a option to run Docker-compatible workflows with out paying for Docker Desktop, although it’s value checking your organization’s insurance policies earlier than switching. Developers who need native Kubernetes, containerd parity with managed cloud companies, or a number of remoted environments will discover a lot to love.
There are trade-offs. Colima helps solely macOS and Linux, so Windows customers are out of luck. It has no graphical dashboard, which may really feel like a step again in case you depend on a visible overview of containers, photos, and volumes. Docker Desktop’s extras, corresponding to its extensions and the hardening and registry controls in its enterprise tiers, haven’t any direct equal. You additionally want to put in the Docker shopper your self, and altering CPU or reminiscence means restarting the VM.
Switching is low-risk, which is the most effective purpose to attempt it. Installation takes a single Homebrew command, and colima begin brings up a working Docker atmosphere in moments. Because Colima works with the usual docker shopper, your present Dockerfiles and Compose recordsdata ought to usually carry over, though it’s wise to check any setup that will depend on particular quantity or networking habits. Spending every week with it earlier than uninstalling something is a simple option to discover out whether or not it matches.
Colima is a free, light-weight various for terminal-savvy builders
Colima trades Docker Desktop’s polish for freedom, flexibility, and a smaller footprint. It fits terminal-comfortable builders on macOS or Linux, particularly at bigger corporations dealing with licensing prices. If you want a graphical interface or Windows assist, keep put; in any other case, it deserves a trial run.
