Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by throwawaaarrgh on Wednesday November 09, 2022 @05:37PM
(#33539080)
Best part: it's QEMU so you can choose your CPU architecture and run x86_64 containers on ARM Macs
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by dilyevsky on Wednesday November 09, 2022 @06:12PM
(#33539539)
That works via qemu userspace emulation inside of VM so docker desktop has it too (might need to install qemu binfmt_misc hooks package)
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by Hasnep on Wednesday November 09, 2022 @07:53PM
(#33540644)
I've been telling my colleagues with M1 Macs to use the
--platform linux/arm64
argument with Docker Desktop and that seems to be working for them.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by Art9681 on Wednesday November 09, 2022 @07:59PM
(#33540704)
Podman works the same way.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by ec109685 on Wednesday November 09, 2022 @08:13PM
(#33540818)
x86_64 containers on ARM mac are extremely slow.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by anentropic on Thursday November 10, 2022 @09:34AM
(#33547004)
It seems this may get better soon, when they run via Rosetta 2 rather than QEMU(?)
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by dmix on Thursday November 10, 2022 @10:17AM
(#33547693)
I found even with ARM Docker containers were already slow as it was.
I also never understood the justification for the added complexity it created, but I also don't have a dedicated ops team at my job to solve my problems.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by shad42 on Wednesday November 09, 2022 @05:58PM
(#33539372)
Replaced Desktop with `colima` as well few months ago. I've been using it daily since then. I did not have any issue, sometimes I just delete / start a instance to upgrade the docker version, it only takes few minutes.
I like the fact that I decide when I upgrade, not Docker Desktop nagging me every week.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by swyx on Thursday November 10, 2022 @06:58AM
(#33545197)
i wrote a quick howto a while ago for anyone looking to try this out https://www.swyx.io/running-docker-without-docker-desktop
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by onetimeuse1234 on Wednesday November 09, 2022 @06:13PM
(#33539547)
Please help me understanding: Why is `brew install docker` not sufficient, why do you also need Colima or Docker Desktop? Is it so that there is a docker _daemon_ installed which `docker` doesn't ship with?
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by ZiiS on Wednesday November 09, 2022 @06:19PM
(#33539603)
OSX dose not support running docker containers (or vis versa depending on your point of view). Instead you need a VM running Linux. Docker Desktop / Colima runs this VM for you.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by dinosaurdynasty on Wednesday November 09, 2022 @06:27PM
(#33539690)
I assume `brew install docker` just installs the docker CLI/etc, which can run on non-Linux OSes. However the docker daemon can only run on Linux, so something needs to setup a VM for it.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by eropple on Wednesday November 09, 2022 @06:36PM
(#33539769)
Homebrew handles this kinda poorly, so people are often confused. `brew install docker` installs the Docker CLI. `brew install --cask docker` installs Docker Desktop, and if you've permanently tapped homebrew-cask you'll get that instead of the Docker CLI.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by tyrshand on Thursday November 10, 2022 @03:46AM
(#33543852)
omg that is terrible
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by fjckvuvub5 on Thursday November 10, 2022 @08:50AM
(#33546338)
Linux user here. It's not terrible. It's funny.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by tuyiown on Thursday November 10, 2022 @09:37AM
(#33547061)
You are trying to be snarky at macOS users, but homebrew is BSD licensed…
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by vbezhenar on Wednesday November 09, 2022 @07:03PM
(#33540107)
Thanks for sharing. I missed something like that. Docker is too enterprisy to my taste. I'm using VPS with docker right now which works good enough, but no volume mounts is not very nice.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by jzelinskie on Wednesday November 09, 2022 @07:17PM
(#33540282)
Looking to convert, but I still can't understand how this is more performant. Docker Desktop has lots of engineering going into performance crossing the host/VM barrier. IIRC lima just pipes over SSH. How could that be faster?
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by russelg on Wednesday November 09, 2022 @07:45PM
(#33540569)
It's quite trivial to have both installed and you can easily switch between Colima and Docker, I think it's worth testing it out.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by drcongo on Thursday November 10, 2022 @05:02AM
(#33544417)
I only use Docker Desktop for one thing - to see if one of my containers has accidentally started itself as amd64 instead of arm64. Sadly Colima doesn't seem to provide a way to do that.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by cosmotic on Thursday November 10, 2022 @12:43AM
(#33542729)
Docker is an electron app which might explain some of the performance and battery differences. The containers don't run in electron but that extra copy of chrome is always running in the background.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by user- on Wednesday November 09, 2022 @08:20PM
(#33540891)
my personal experience. Much earlier this year at work, we migrated everyone to colima and I had to support devs with their issues. So many small issues kept popping up, and was definitely not a drop in replacement for us.
The higher ups eventually let us just buy docker desktop and we are all happier now.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by jonwest on Friday November 11, 2022 @02:13AM
(#33558070)
Exact same experience here to the point where I wasn’t sure if we worked together haha
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by elcritch on Wednesday November 09, 2022 @09:27PM
(#33541432)
Does anyone know if the networking lets you ping the docker vm directly?
Looks like there's an `colima start --network-address`. I just spent the day trying to get a docker vm I can ping directly.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by reilly3000 on Wednesday November 09, 2022 @09:48PM
(#33541569)
It’s been a really doozy for me too, doubly so for local k8s in Docker (kind/k3s). I’ve tried a whole lot of variations, it’s hard and harder to scale across hundreds of devices.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by elcritch on Wednesday November 09, 2022 @10:22PM
(#33541793)
Well the `colima start --network-address` lets me ping the VM and to use `--net=host`. Nice!
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by chisquared on Wednesday November 09, 2022 @10:07PM
(#33541687)
Same. My requirements are very basic, so the switch to colima was basically seamless. I also appreciated being able to avoid Docker Desktop constantly trying to update itself (which is what ultimately motivated me to make the switch).
As a bonus, you can install the Docker CLI (e.g. `brew install --formula docker`) and use that to interact with any containers you start with colima.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by twalla on Wednesday November 09, 2022 @10:14PM
(#33541734)
Switched to colima a while back after the licensing debacle and have been mostly happy with it. Only real issue has been with some tools making assumptions about the docker socket location, which was easy to fix in the config file.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by ArcMex on Thursday November 10, 2022 @03:31AM
(#33543757)
Sorry but off topic.
At what point did containerization begin to make sense for your workflow?
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by afhammad on Thursday November 10, 2022 @04:18AM
(#33544052)
Not OP, but if it's helpful, I use containers for all 3rd party services I need to run for development. (e.g. Postgres, Redis, Localstack, etc). This makes it easy to onboard new developers as they just have to run `docker-compose up` and not worry about those. It also allows me to easily use different versions of those services in different projects or even branches of a project.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop
by asmor on Thursday November 10, 2022 @04:08AM
(#33543983)
somehow colima and my corporate vpn (using vpnc) keep deleting each others routes (colima loses network access when you turn off vpnc) and neither podman machine nor rancher desktop have this issue.
[0]https://github.com/abiosoft/colima