Most active commenters
  • t43562(4)
  • chuckadams(3)

←back to thread

1101 points codesmash | 38 comments | | HN request time: 0.414s | source | bottom
Show context
t43562 ◴[] No.45137756[source]
To provide 1 contrary opinion to all the others saying they have a problem:

Podman rocks for me!

I find docker hard to use and full of pitfalls and podman isn't any worse. On the plus side, any company I work for doesn't have to worry about licences. Win win!

replies(7): >>45137807 #>>45137925 #>>45138918 #>>45140013 #>>45141773 #>>45142624 #>>45142950 #
1. Izmaki ◴[] No.45137807[source]
None of your companies need to worry about licenses. Docker ENGINE is free and open source. Docker DESKTOP is a software suite that requires you to purchase a license to use in a company.

But Docker Engine, the core component which works on Linux, Mac and Windows through WSL2, that is completely and 1000% free to use.

replies(4): >>45137811 #>>45137833 #>>45137951 #>>45137973 #
2. t43562 ◴[] No.45137811[source]
Those companies use docker desktop on their dev's machines.
replies(2): >>45137825 #>>45137842 #
3. Almondsetat ◴[] No.45137825[source]
That's their completely optional prerogative
4. matsemann ◴[] No.45137833[source]
If you've installed Docker on Windows you've most likely done that by using Docker Desktop, though.
replies(4): >>45137846 #>>45138355 #>>45142366 #>>45142515 #
5. connicpu ◴[] No.45137842[source]
There's no need if all your devs use desktop Linux as their primary devices like we do where I work :)
replies(1): >>45137857 #
6. t43562 ◴[] No.45137846[source]
Right, we were using macs - same story.
7. t43562 ◴[] No.45137857{3}[source]
On Mac we just switched to podman and didn't have anything to worry about.
replies(4): >>45138272 #>>45140147 #>>45140814 #>>45145909 #
8. firesteelrain ◴[] No.45137951[source]
Podman is inside the Ubuntu WSL image. No need for docker at all
replies(1): >>45138406 #
9. xhrpost ◴[] No.45137973[source]
From the official docs:

>This section describes how to install Docker Engine on Linux, also known as Docker CE. Docker Engine is also available for Windows, macOS, and Linux, through Docker Desktop.

https://docs.docker.com/engine/install/

I'm not an expert but everything I read online says that Docker runs on Linux so with Mac you need a virtual environment like Docker Desktop, Colima, or Podman to run it.

replies(2): >>45138007 #>>45138429 #
10. LelouBil ◴[] No.45138007[source]
Docker desktop will run a virtual machine for you. But you can simply install docker engine in wsl or in a VM on mac exactly like you would on linux (you give up maybe automatic port forwarding from the VM to your host)
replies(2): >>45138166 #>>45139551 #
11. linuxftw ◴[] No.45138166{3}[source]
This. I run docker in WSL. I also do 100% of my development in WSL (for work, anyway). Windows is basically just my web browser.
replies(1): >>45138375 #
12. nickthegreek ◴[] No.45138272{4}[source]
Anyone have opinions on OrbStack for mac over these other alternatives?
replies(5): >>45138495 #>>45138523 #>>45138929 #>>45139026 #>>45140761 #
13. GrantMoyer ◴[] No.45138355[source]
Docker Engine without Docker Desktop is available through winget as "Docker CLI"[1].

[1]: https://github.com/microsoft/winget-pkgs/tree/master/manifes...

14. CuriouslyC ◴[] No.45138375{4}[source]
Ironic username. As a die hard, WSL aint bad though. I just can't deal with an OS that automatically quarantines bittorrent clients, decides to override local administrator policies via windows updates and pops up ad notifications.
replies(3): >>45138587 #>>45138644 #>>45142504 #
15. kordlessagain ◴[] No.45138406[source]
This is not correct, at least when looking at my screen:

(base) kord@DESKTOP-QPLEI6S:/mnt/wsl/docker-desktop-bind-mounts/Ubuntu/37c7f28..blah..blah$ podman

Command 'podman' not found, but can be installed with:

sudo apt install podman

replies(1): >>45138457 #
16. iainmerrick ◴[] No.45138429[source]
If you're already paying for Macs, is paying for Docker Desktop really a big problem?
replies(1): >>45139900 #
17. firesteelrain ◴[] No.45138457{3}[source]
Hmm maybe it’s what our admins provided to us then. I actually have never run it at home only airgapped
18. johncoltrane ◴[] No.45138495{5}[source]
I tried all the DD alternatives (on macOS) and I think OrbStack is the easiest to use and least invasive of them all.

But it is not cross-platform, so we settled on Podman instead, which came (distant) second in my tests. The UI is horrible, IMO but hey… compromises.

I use OrbStack for my personal stuff, though.

19. karlshea ◴[] No.45138523{5}[source]
Been using it for a year or so now and it’s amazing. Noticeably faster than DD and the UI isn’t Electron or whatever’s going on there.
20. linuxftw ◴[] No.45138587{5}[source]
All my personal machines run linux. At work my choices are Mac or Windows. If Macs were still x86_64 I might choose that and run a VM, but I have no interest in learning the pitfalls of cross arch emulation or dealing with arm64 linux distro for a development machine.
replies(1): >>45142020 #
21. croon ◴[] No.45138644{5}[source]
+1

I use WSL for work because we have no linux client options. It's generally fine, but both forced windows update reboots as well as seemingly random wsl reboots (assuming because of some component update?) can really bite you if you're in the middle of something.

22. elliottr1234 ◴[] No.45138929{5}[source]
It's well worth it its much more than a gui for it supports running k8s locally, managing custom vm instances, resource monitoring of containers, built in local domain name support with ssl mycontainer.orb, a debug shell that gives you ability to install packages that are not available in the image by default, much better and automated volume mounting and view every container in finder, ability to query logs, an amazing ui, plus it is much, much faster and more resource efficient.

The above features really do make it worth it especially when using existing services that have complicated failure logs or are resource intensive like redis, postgres, livekit, etc or you have a lot of ports running and want to call your service without having to worry about remembering port numbers or complicated docker network configuration.

Check it out https://docs.orbstack.dev/

replies(1): >>45142130 #
23. veidr ◴[] No.45139026{5}[source]
Yes, Orbstack is significantly better than Docker Desktop, and probably also better than any other Docker replacement out there right now (for macOS), if you aren't bothered by the (reasonable) pricing.

It costs about $100/year per seat for commercial use, IIRC. But it is significantly faster than Docker Desktop at literally everything, has a way better UI, and a bunch of QoL features that are nice. Plus Linux virtualization that is both better and (repeating on this theme) significantly more performant than Parallels or VMWare Fusion or UTM.

24. rovr138 ◴[] No.45139551{3}[source]
> But you can simply install docker engine in wsl or in a VM on mac exactly like you would on linux (you give up maybe automatic port forwarding from the VM to your host)

and sharing files from the host, ide integration, etc.

Not that it can't be done. But doing it is not just, 'run it'. Now you manage a vm, change your workflow, etc.

replies(1): >>45144828 #
25. chrisweekly ◴[] No.45139900{3}[source]
I think the point is that Docker Desktop for macOS is bad.
replies(2): >>45142075 #>>45147332 #
26. allovertheworld ◴[] No.45140147{4}[source]
Cant imagine being forced to use a linux PC for work lmao
replies(1): >>45141842 #
27. fernandotakai ◴[] No.45140761{5}[source]
orbstack is absolutely amazing. not only the docker side works much better than docker desktop but their lightweight linux vms are just beyond great.

i've been using an archlinux vm for everything development over the past year and a half and i couldn't be happier.

28. krferriter ◴[] No.45140814{4}[source]
I am using MacOS and like a year ago I uninstalled docker and docker desktop, installed podman and podman-compose, and have changed literally nothing else about how I use containers and docker image building/running locally. It was a drop-in replacement for me.
29. connicpu ◴[] No.45141842{5}[source]
I happily embraced it, to each their own I guess. There are folks who mainly work on their mac/windows laptops and just ssh into their workstation, but IT gives us way more freedom (full sudo access) on Linux so I can customize a lot more which makes me a lot happier.
30. chuckadams ◴[] No.45142020{6}[source]
I never notice the difference between arm64 and x86 environments, since I'm flipping between them all the time just because the arm boxes are so much cheaper. The only time it matters to me is building containers, and then it's just a matter of passing `--platform=linux/amd64,linux/arm64` to `docker buildx`.

If you're building really arch-specific stuff, then I could see not wanting to go there, but Rosetta support is pretty much seamless. It's just slower.

31. chuckadams ◴[] No.45142075{4}[source]
It's not all that bad these days ever since they added virtio support. Orbstack is well worth paying for as an alternative, but that won't solve anyone's procurement headaches either.
32. chuckadams ◴[] No.45142130{6}[source]
Docker Desktops also supports a local kubernetes stack, but it takes several minutes to start up, and I think in the end it's just minikube? Haven't tried Orbstack's k8s stack myself since I'm good with k3d. I did have cause though to spin up a VM a while back, and that was buttah.
33. Izmaki ◴[] No.45142366[source]
That's just one way. The alternative is WSL 2 with Docker Engine.
34. mmcnl ◴[] No.45142504{5}[source]
I personally use Windows + WSL2 and for work use macOS. I prefer Windows + WSL2 by a longshot. It just "works". macOS never "just works" for me. Colima is fine but requires a static memory allocation for the VM, it doesn't have the level of polish that WSL2 has. Brew is awful compared to apt (which you get with WSL2 because it's just Linux).

And then there's the windowing system of macOS that feels like it's straight from the 90s. "System tray" icons that accumulate over time and are distracting, awful window management with clunky animations, the near useless dock (clicking on VS Code shows all my 6 IDEs, why?). Windows and Linux are much modern in that regard.

The Mac hardware is amazing, well worth its price, but the OS feels like it's from a decade ago.

35. mmcnl ◴[] No.45142515[source]
I just follow the official Linux instructions on the Docker website. It just works.
36. mpyne ◴[] No.45144828{4}[source]
Of course, but that's the value-add of Docker Desktop. But you don't have to tie yourself to it, or even if you do use it for a bit to get going faster, you have a migration path open to doing it yourself should you need it.
37. lmm ◴[] No.45145909{4}[source]
Really? We switched 6+ months ago and I'm still dealing with all the little broken corners that keep cropping up.
38. iainmerrick ◴[] No.45147332{4}[source]
Oh! I wasn’t trying to make a big point except that paying for software isn’t necessarily a bad thing, and if you’re already invested in Macs you’re presumably OK with paying good money for good products.

Having used Docker Desktop on a Mac myself, it seems... fine? It does the job well enough, and it’s part of the development rather than production flow so it doesn’t need to be perfect, just unobtrusive.