Docker Desktop alternatives for macOS
As Docker Desktop updated its license to Docker Subscription Service Agreement and is no longer free for professional use, I decided to find alternatives for Docker Desktop on macOS.
This is a convenient note for me to check steps without logging personal stuff on my work computer. I hope it can help you too.
The goal is to replace Docker Desktop without changing my current workflow.
Since I don’t use docker GUI, I only need to replace the VM layer and keep the docker CLI. So, as the VM layer, I use Colima - container runtimes on macOS.
Installation
Install Colima with Homebrew:
|
|
Then, manually install the docker Compose plugin, as Colima doesn’t include it.
|
|
Setup container runtime
The default VM created by Colima has 2 CPUs, 2GiB memory, which is not enough for me as I run projects on Kubernetes. So, to avoid hanging the container runtime, I created a new VM with 6 CPUs and 8GiB memory.
|
|
Then, I created a soft link to Colima’s Unix socket for the docker (this may require root permission) to have a better experience, as it is not easy for some applications to change the default docker socket path.
|
|
Test the setup
|
|