top | item 29815122

Ask HN: What are you going to use instead of Docker Desktop for macOS?

22 points| rathboma | 4 years ago | reply

Hey Everyone,

With the new Docker Desktop license rapidly approaching what is everyone replacing it with?

For Linux and Windows (with WSL) I just use the docker engine cli, but for Mac, I'm not sure.

Obviously some of you are just paying for it which is cool, but in this thread I'm specifically interested in alternatives.

Options I know about:

- Podman - https://podman.io/getting-started/installation - has complicated installation instructions for MacOS.

- Rancher Desktop - https://rancherdesktop.io/ - Focused on K8s rather than raw docker containers.

15 comments

order
[+] xtracto|4 years ago|reply
I've tried both of those and minikube by itself. For me the main disadvantage has been compatibility with docker-compose. I've got several projects that I run using docker-compose.yml as a "turnkey" solution. The podman compatibility is unusable, and migrating to K8s manifest files is cumbersome. Also Rancher Desktop is not a complete replacement solution, once you install it you have to add some other stuff to make it work.

All this kind of has made me think more about the vendor lock-in that we were having with Docker. I am still looking for a more viable replacement.

[+] lmarcos|4 years ago|reply
Linux virtual machine (via Vagrant, for instance) and inside I run docker.
[+] electroly|4 years ago|reply
Seconding this. On M1 processors, Parallels does a great job and this arrangement is vastly faster than Docker Desktop. The speed improvement alone makes it worth the cost of the Parallels license and the hassle of setting this up.
[+] richardjennings|4 years ago|reply
I have been using Lima https://github.com/lima-vm/lima which incidentally is the project behind both rancher desktop and colima I believe. QEMU support allows for running e.g. x86 on arm (with perf/efficiency tradeoffs)
[+] yuppie_scum|4 years ago|reply
I got my management to agree that it’s worth the $5 a month for everyone’s productivity.

Hopefully Podman fixes their volume mounting problems and we can just start using that eventually.

[+] pseudoramble|4 years ago|reply
Ah man, that must be a magical place. I spent months (on-and-off) trying to convince my company to do this and failed. I hope they figure it out, because while I worked around it for my needs, I can't imagine I'm the only person who used Docker Desktop at the company, and it genuinely worries me that while IT considers it unapproved software that it won't stop its usage.
[+] pseudoramble|4 years ago|reply
My needs are super minimal, one or two containers at a time at most. So I use Docker Engine + docker-machine (sets up a Linux VM in VirtualBox by default) + lazydocker (https://github.com/jesseduffield/lazydocker). I did add a function to my fish config to start Docker Engine if needed, load the environment info I need from docker-machine, and then run lazydocker.

Seems to work fine so far for me.

[+] salmo|4 years ago|reply
I’ve just been using minikube. I can just build containers with it or mock up a k8s deployment. Instructions to configure local docker or podman to use it are simple.

With the hyperkit backend it’s pretty similar, just with extra bells and whistles and nothing in the taskbar.

I keep things pretty simple, so there may be cases it doesn’t cover.

If so, then I’d just use a VM. I still use Vagrant a lot for testing non-container stuff. It could be handy there to set up an environment that actually matches your prod setup.

[+] wdb|4 years ago|reply
I have been wondering if VMWare's `vctl` could work for this on the mac