Live data from Hacker News

Docker for Mac Without Docker Desktop

github.com

111–120 of 198 posts

Re: Docker for Mac Without Docker Desktop

#111
> Motivation: Docker for Mac was proving to be a workflow pain rather than a workflow gain. It was slowing down my 16" Macbook Pro (32GB RAM, 6 CPUs), draining the battery, and causing the fans to constantly spin at full speed.

A performance comparison between this solution and Docker for Mac would have been great.

Re: Docker for Mac Without Docker Desktop

#112
post #96
post #10

One of the past maintainers of minikube here. Minikube, while targeted towards Kubernetes developers, also provides all the features you'd want here. It also takes away most of the pain from virtual machine management w/ native hypervisors. If you're looking for customizability (boot image, docker version, container runtime), minikube is probably your best bet. It even comes with some rudimentary file-sharing and por…

There's one big difference between Docker Desktop and minikube and the ones referenced in the docker desktop alternatives link. Docker Desktop is a desktop app (GUI and all) while all the listed alternatives are terminal apps. For some this might not matter but for others it does. Rancher Desktop[1] has the desktop app install experience, the GUI, and the the tools (Docker CLI/nerdctl, Kubernetes (k3s), etc), and mor…

I agree, I think the GUI is important for the kinds of users who feel lost without Docker Desktop. There have been plenty of other ways for technical users to run their containers all along (really, you could just run your own VM with vagrant if nothing else) but the people who want a "point and click" turnkey experience will appreciate the GUI.

Another kind of nice thing about Rancher Desktop is it's cross platform, so even Linux users can use it. That could be nice if you have a mix of Linux and Mac devs and want to use the same tooling here. It also makes sure you don't "mess up" your real Linux system or run into any distro-specific version incompatibilities (since it's all in a disposable VM controlled by Rancher Desktop).

I've tinkered with Rancher Desktop periodically and I think it's a promising tool. For now I keep going back to running Docker directly, only because it's my existing workflow (I'm a Linux user so the Docker Desktop changes don't apply to me).

Re: Docker for Mac Without Docker Desktop

#114
post #81

Earlier quoted context omitted.

> Iirc, a 2018 stackoverflow survey of what devs use had 50% on windows, 40% on Linux and 10% on mac. You needn't rely on your memory, the survey is still available [0]. FWIW, it doesn't seem to contain a question about the OS where development takes place, only about the targets [1]. The top answers were: Linux 48.3% Windows Desktop or Server 35.4% Android 29.0% AWS 24.1% Mac OS 17.9% [0] https://insights.stackoverf…

It does have stats for Developers' Primary Operating System[0]: Windows 49.9% MacOS 26.7% Linux-based 23.2% BSD/Unix 0.2% [0] https://insights.stackoverflow.com/survey/2018/#technology-_...

Wow. I have no idea how I missed that. Mea culpa. Albeit those numbers are still radically different to the poster I replied to.

Re: Docker for Mac Without Docker Desktop

#115
post #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/

> why the heck doesn't the macOS kernel support native containerization? Because Apple has no plans of growing their server OS marketshare. I know there are benefits of using namespaces (containers) in the desktop market, but they don't sell iMacs/MBPs. Exterior design and heavy marketing is their sales strategy.

I never understood this, because surely some huge percentage of developers use Macs. Enterprises buy stacks of them nonstop. Just making that group happy would get you the reputation of being a developers machine, for serious computer people, which could translate into laymen purchases too.

Re: Docker for Mac Without Docker Desktop

#117
post #83
post #70

Earlier quoted context omitted.

Quoted post unavailable.

I have a simple one for ya... Use docker and Vmware on the same windows machine.

Are you talking about the old problem of VMware and Hyper-V not playing well together, or suggesting that using both together solves Windows development woes?

Re: Docker for Mac Without Docker Desktop

#118
post #13

As an alternative one can also consider Rancher Desktop ( https://www.suse.com/c/rancher_blog/rancher-desktop-1-0-0-ha... ) mentioned here few days ago.

+1 for Rancher Desktop. [ https://rancherdesktop.io/ ] you can alias the `docker` command with `nerdctl` as a one:one replacement.

I tried it out to today after struggling for more than a month with Docker for Mac with problem after problem. I know how exactly many turtles there are all the way down. Rancher fixed everything first try. Containerd/nerdctl doesn't work for us (too tired to figure out why), but Rancher can run Moby/docker.

Re: Docker for Mac Without Docker Desktop

#119

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?

I don't have anything of substance to add but I can definitely echo your experience. I'm still in love with the M1 chips but it is definitely not a seamless transition if you work with Docker a lot. I've had containers behave really strangely and unreproducibly.

Re: Docker for Mac Without Docker Desktop

#120
post #10

One of the past maintainers of minikube here. Minikube, while targeted towards Kubernetes developers, also provides all the features you'd want here. It also takes away most of the pain from virtual machine management w/ native hypervisors. If you're looking for customizability (boot image, docker version, container runtime), minikube is probably your best bet. It even comes with some rudimentary file-sharing and por…

It should be noted that minikube does not work on the M1. Sadly we started switching devs over to M1 at the same time we finished up switching our local environment over to minikube.
Post reply on HN