Live data from Hacker News

Docker for Mac Without Docker Desktop

github.com

31–40 of 198 posts

Re: Docker for Mac Without Docker Desktop

#31
post #5

I've been exploring 2 alternatives (podman and colima) to replace my normal docker workflow, which is just building and running containers locally, sometimes with docker-compose. I started with podman but had issues with 2 main pieces of my workflow: docker-compose (or podman-compose) and shared volumes (with `run -v`). Switched over to colima and those worked out of the box for me ("brew install docker; brew install…

I just switched to Colima and found it worked perfectly out of the box, according to the documentation. Once I had brought up a new machine with `colima start --cpu 2 --memory 8 --disk 10 --with-kubernetes`, `docker compose` worked perfectly and I could see the colima-backed kubernetes cluster available to control via `kubectl config get-contexts`.

Re: Docker for Mac Without Docker Desktop

#32
post #11
post #5

I've been exploring 2 alternatives (podman and colima) to replace my normal docker workflow, which is just building and running containers locally, sometimes with docker-compose. I started with podman but had issues with 2 main pieces of my workflow: docker-compose (or podman-compose) and shared volumes (with `run -v`). Switched over to colima and those worked out of the box for me ("brew install docker; brew install…

What drew you to switch up your workflow? I am on a m1 macbook air and I've been using Docker + Docker Desktop without much issue, and my use-case is a little simpler than yours (only running single containers at a time). I'm genuinely curious to learn more about what these tools (Colima, podman) help enable. If I'm missing out on a performance boost, I'd definitely check them out.

I switched because of licensing changes and because I find the docker desktop UI to be laggy, frequently updating with no discernible benefit to me, and superfluous -- I would rather interact with my containers via the CLI, but had to use the desktop app to start the daemon.

Re: Docker for Mac Without Docker Desktop

#35

"Motivation: Docker for Mac was proving to be a workflow pain rather than a workflow gain." I feel that pain. I switched from a Linux box to a Mac Mini for ALMOST all the work I do. I just couldn't take the pain, now when I need to do my Docker work, I just flip back to my Linux box. I have a Logi keyboard and Mouse with that 3 device button option, and a monitor with a few inputs, so I just turn on the ol' Linux box…

[deleted]

Re: Docker for Mac Without Docker Desktop

#36

This won't work on the new M1 macs since it uses VirtualBox

Yeah :( Ever since I switched to an M1, I haven't found a way to reliably build and run x86_64 containers on it. Docker desktop with Qemu is not just painfully slow, it's also very buggy and some containers just can't be built without crashing. Is there any alternative?

Try UTM https://mac.getutm.app/

Run x86 Linux of your choice there, install Docker inside there. Run it there.

Re: Docker for Mac Without Docker Desktop

#37
I know people doing docker dev are generally targeting a Linux of some sort, but why the heck doesn't the macOS kernel support native containerization?

Come on Apple. Microsoft can do it.

edit: this seems like a new development since my last whine/complaint on this topic:

https://macoscontainers.org/

Re: Docker for Mac Without Docker Desktop

#38
I suppose peeps are starting to notice this because they're no longer able to use Docker Desktop on their corporate machines and are scrambling for alternatives?

We got lucky where I work, and already had a RHEL license which gives us Docker Desktop Enterprise too, I think.

Re: Docker for Mac Without Docker Desktop

#40

This won't work on the new M1 macs since it uses VirtualBox

Yeah :( Ever since I switched to an M1, I haven't found a way to reliably build and run x86_64 containers on it. Docker desktop with Qemu is not just painfully slow, it's also very buggy and some containers just can't be built without crashing. Is there any alternative?

Have you tried https://threedots.ovh/blog/2021/01/huawei-exagear-x86_64-app...

maybe it works faster than qemu for a chrooted environment.

Post reply on HN