Live data from Hacker News

Docker for Mac Without Docker Desktop

github.com

61–70 of 198 posts

Re: Docker for Mac Without Docker Desktop

#61
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/

Although just today I was having some Windows containers hiccups, I am looking forward to the day that Microsoft doesn't require installing a third party solution (Docker) to use them.

Re: Docker for Mac Without Docker Desktop

#62
post #55
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/

I have used the native launch agent system in macos to do what some people use docker containers for.

Do you have this written up anyplace sharable?

Re: Docker for Mac Without Docker Desktop

#63
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.

Re: Docker for Mac Without Docker Desktop

#65
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.

Also creating their own SoC that outperforms others in the space.

Re: Docker for Mac Without Docker Desktop

#66

I find it hilarious that their solution to Docker (which is supposed to be virtualization-light: containers) bloatedness is to use a full-fledged virtual machine. Something's gone deeply wrong somewhere.

Not that I disagree about something being deeply wrong, but VM's your only option. Docker is more or less hardcoded to Linux, so you need a Linux kernel somewhere. Docker Desktop just runs a light one for you that you don't worry about managing much.

Re: Docker for Mac Without Docker Desktop

#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 crap files they generate was not feasible for me.

Re: Docker for Mac Without Docker Desktop

#68

I find it hilarious that their solution to Docker (which is supposed to be virtualization-light: containers) bloatedness is to use a full-fledged virtual machine. Something's gone deeply wrong somewhere.

I agree, but currently Docker on Mac is more about building/testing your server infra on your macOS dev machine before deploying it to Linux where it actually runs as "lightweight" containers.

Regardless, would still be great if we had native macOS container support!

Re: Docker for Mac Without Docker Desktop

#69
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.

containerization won't just help in the server-space. It has use-cases in app development like CI.

Re: Docker for Mac Without Docker Desktop

#70
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/

No post body was provided.
Post reply on HN