Live data from Hacker News

I ditched Docker for Podman

codesmash.dev

121–130 of 670 posts

Re: I ditched Docker for Podman

#123
post #63

> If your Docker Compose workflow is overly complex, just convert it to Kubernetes YAML. We all use Kubernetes these days, so why even bother about this? I find that kubernetes yaml are a lot more complex than docker compose. And while I do, no, not everybody uses kubernetes.

Having an LLM function as a translation layer from docker compose to k8s yaml works really well. On another note, podman can generate k8s yaml for you, which is a nice touch and easy way to transition.

You don’t need an LLM for this. Use `kubectl` to create a simple pod/service/deployment/ingress/etc, run `kubectl get -o yaml > foo.yaml` to bring it back to your machine in yaml format, then edit the `foo.yaml` file in your favorite editor, adding the things you need for your service, and removing the things you don’t, or things that are automatically generated.

As others have said, depending on an LLM for this is a disaster because you don’t engage your brain with the manifest, so you aren’t immediately or at least subconsciously aware of what is in that manifest, for good or for ill. This is how bad manifest configurations can drift into codebases and are persisted with cargo-cult coding.

[edit: edit]

Re: I ditched Docker for Podman

#124
docker works well enough.

podman avoids having to deal with the Purchasing department, but doesn't work great.

would definitely suggest doing docker if you're up to dealing with the purchasing department.

Re: I ditched Docker for Podman

#125
post #38

Earlier quoted context omitted.

On Mac we just switched to podman and didn't have anything to worry about.

Anyone have opinions on OrbStack for mac over these other alternatives?

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.

Re: I ditched Docker for Podman

#126

Earlier quoted context omitted.

EC2 and containers are orthogonal technologies, though. Containers are the packaging format, EC2 is the infrastructure. (docker, crio, podman, kata, etc are the runtime) When deploying on EC2, you still need to deploy your software, and when using containers you still need somewhere to deploy to.

True; I conflate the two often. The EC2s run on an IAM image, same as production does, which before was a docker image.

Arguably it would still be beneficial to use container images when building your AMIs (vs installing use apt or copying your binaries), since using container images still solves the "How do I get my software to the destination?" and the "How do I run my software and give it the parameters it needs?" problems in a universal way.

Re: I ditched Docker for Podman

#127
post #51
post #46

Earlier quoted context omitted.

> On the plus side, any company I work for doesn't have to worry about licences. Win win! Was this a deal breaker for any company? I ask because the Docker Desktop paid license requirement is quite reasonable. If you have less than 250 employees and make less than $10 million in annual revenue it's free. If you have a dev team of 10 people and are extremely profitable to where you need licenses you'd end up paying $9…

The problem isn’t generally the cost, it’s the complexity. You end up having to track who has it installed. Hired 5 more people this week? How many of them will want docker desktop? Oh, we’ve maxed the licenses we bought? Time to re-open the procurement process and amend the purchase order.

Everything is hard in a large company and they have hired teams to manage procurement so this is just you over thinking.

Re: I ditched Docker for Podman

#128
I would love to switch to podman, but rely on docker's credential helpers with gcloud CLI for authentication to pull from Google Artifact Registry on Mac with hyperkit. Last time I tried I couldn't figure out how to do this with podman machine in a way that respected gcloud credentials properly and could only find some hacks that involved passing short term tokens instead of supporting proper refresh flows. Is there a guide how to do that now?

Re: I ditched Docker for Podman

#129
post #38

Earlier quoted context omitted.

On Mac we just switched to podman and didn't have anything to worry about.

Anyone have opinions on OrbStack for mac over these other alternatives?

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.
Post reply on HN