Live data from Hacker News

Docker for Mac Without Docker Desktop

github.com

151–160 of 198 posts

Re: Docker for Mac Without Docker Desktop

#151

As others have pointed out, Virtualbox doesn't work on ARM (M1). A few months ago I switched to a new setup on my M1 Max: running a Ubuntu VM in UTM ( https://mac.getutm.app/ ), and installing Docker there. I use Mutagen ( https://mutagen.io/ ) for syncing files between macOS and the VM, which works really well. There is a 10x-20x speed improvement running a large PHP (Drupal) project through the VM than Docker for M…

One can use Vagrant and VMware (instead of Virtualbox) on ARM M1. VMware fusion is free and Hashicorp has released the VMware vagrant plugin for free as well.

oh wow, i had no idea!

do you know by any chance if vmware fusion has support for pxe boot?

Re: Docker for Mac Without Docker Desktop

#152
post #2

Unfortunately this like other alternatives still misses some key features of Docker Desktop for Mac like utilizing VPNKit ( https://github.com/moby/vpnkit ) to make networking not constantly break when on a VPN without split tunneling, etc. I've started using minikube myself as I stopped constantly needing to use Cisco AnyConnect for work as we switched to using a Zscaler product instead - but this is a huge bugbear…

Important consideration: Docker Desktop isn't free software and isn't even source available.

It also includes on-by-default nonconsensual spyware that uploads a significant amount of private information about your system and network when it crashes.

Command line docker, the docker server (for Linux) and a Linux VM are all free software.

Re: Docker for Mac Without Docker Desktop

#153
I’ve been trying something new for the last few months. I brought a min-spec M1 Air and I’ve been using a hetzner dedicated server as my development machine.

I run all user-interfaces locally, and use unison to keep files in sync. VSCode remote dev works well, but I’m more of a PyCharm person myself and their remove dev is just picking up. Docker just runs natively on the server.

But it has been working very well with unison. I run eternal terminal with tmux, so my terminal is always available. Local bandwidth requirements are low and I get a 6-core 64GB dev machine.

It’s actually been very pleasant. I have barely any dev tools locally (not even home brew, which I do not miss at all).

Re: Docker for Mac Without Docker Desktop

#155
post #152
post #2

Unfortunately this like other alternatives still misses some key features of Docker Desktop for Mac like utilizing VPNKit ( https://github.com/moby/vpnkit ) to make networking not constantly break when on a VPN without split tunneling, etc. I've started using minikube myself as I stopped constantly needing to use Cisco AnyConnect for work as we switched to using a Zscaler product instead - but this is a huge bugbear…

Important consideration: Docker Desktop isn't free software and isn't even source available. It also includes on-by-default nonconsensual spyware that uploads a significant amount of private information about your system and network when it crashes. Command line docker, the docker server (for Linux) and a Linux VM are all free software.

Docker Desktop is just closed source fork of abandoned kitematic. https://github.com/docker/kitematic

Re: Docker for Mac Without Docker Desktop

#156
post #67
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…

I use kubernetes for pushing stuff to AWS EKS, and it is great. The problem I found with minikube and other Kubernetes based "alternatives" to Docker Desktop (including podman) is that they are not compatible with Docker Compose. There are a * a lot * of "solved problems" via docker-compose.yml files, and all of my past companies have used it. I've tried some docker-compose to k8s migration tools, but the amount of c…

Helm charts are roughly the k8s equivalent of docker compose. Might be a few years before they’re as widespread but a lot of common things you’d want to host are largely “solved” already.

Re: Docker for Mac Without Docker Desktop

#157
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-_...

The most recent stats from StackOverflow are 25.19% macOS for all respondents and 30.04% macOS for professional developers.

Re: Docker for Mac Without Docker Desktop

#158
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…

[deleted]

Re: Docker for Mac Without Docker Desktop

#159

I’ve been trying something new for the last few months. I brought a min-spec M1 Air and I’ve been using a hetzner dedicated server as my development machine. I run all user-interfaces locally, and use unison to keep files in sync. VSCode remote dev works well, but I’m more of a PyCharm person myself and their remove dev is just picking up. Docker just runs natively on the server. But it has been working very well wit…

Can I ask what the monthly hosting costs are?

Re: Docker for Mac Without Docker Desktop

#160

Earlier quoted context omitted.

+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.

You have an interesting handle.. Any association to the neighborhood of Zamalek?
Post reply on HN