Live data from Hacker News

Podman Desktop celebrates 3M downloads

podman-desktop.io

41–50 of 82 posts

Re: Podman Desktop celebrates 3M downloads

#41
post #6

I've seen podman advertised as a dropin docker replacement. how valid is that assertion?

It almost is, the first change you'd see is understanding that each container is a separate process and thus for it to auto start you'd need to generate systemd service files. podman has an autogenerator for this, so it is 'just' two extra commands on the terminal but something easy to miss when you are starting out.

What would you do for a Docker Compose stack with Podman? For example, a self hosted app where the actual service, Postgres, Redis live?

Re: Podman Desktop celebrates 3M downloads

#42

Earlier quoted context omitted.

It almost is, the first change you'd see is understanding that each container is a separate process and thus for it to auto start you'd need to generate systemd service files. podman has an autogenerator for this, so it is 'just' two extra commands on the terminal but something easy to miss when you are starting out.

What would you do for a Docker Compose stack with Podman? For example, a self hosted app where the actual service, Postgres, Redis live?

Docker compose can work with a podman backend, however if you want a more podman native solution the term you should be looking for is quadlet which is basically systemd files that run the containers.

Re: Podman Desktop celebrates 3M downloads

#43
post #29

Why podman and not Docker?

I run rootless containers on a low-power system. With Docker, I found rootless setup to be a PITA, despite having experience with unprivileged LXC containers. The manager daemon constantly consumed system resources even when no containers were running. Docker upgrades sometimes refused to run my containers until I chased down whatever storage driver problem they introduced in the latest version. When the most recent…

> Even the little cron script I wrote to query Docker for pending image updates just worked with Podman tools

Podman comes with an auto-update flag you can set for containers that uses systemd to do this for you. Takes a bit of reading to get it right but its smooth sailing mostly.

Re: Podman Desktop celebrates 3M downloads

#45
post #35

my interaction with docker is limited to a make file that has a `docker-compose up` command, would podman work if the rest of my team is still on docker ?

It works but it's not a real drop-in replacement in my experience. I have issues such as [1] where Podman compose seems to leave containers in a dirty state and subsequent `podman compose up` generate odd errors like:

> Error: creating container storage: the container name "..." is already in use by [hash]. You have to remove that container to be able to reuse that name: that name is already in use, or use --replace to instruct Podman to do so.

And then you try to run `podman compose up --replace` except that's not a recognized argument, so eventually you figure out that you have to run `podman compose down` to clean whatever state is causing issues. I find that I have to do that every time I CTRL+C quit out of `podman compose up` (even though I always let it clean up and then exit on its own), which is a hassle.

I'm considering going back to using Docker Engine.

[1] https://github.com/containers/podman-compose/issues/1072

Re: Podman Desktop celebrates 3M downloads

#46

Does anyone actually use Podman on its own merit? The only use case I encountered is people who want to run Docker without root or admin permissions and use Podman just as a drop-in replacement.

You're pointing out something important. I think it's feasible for the crowd who dislikes the overall direction Docker has been heading and need a simple drop-in replacement

Re: Podman Desktop celebrates 3M downloads

#47

Does anyone actually use Podman on its own merit? The only use case I encountered is people who want to run Docker without root or admin permissions and use Podman just as a drop-in replacement.

Besides being a great replacement for docker for development, I use it to run some government GUI apps that I don't want to install on my machine (they have some bg jobs that I prefer not running 24/7). Once I finish running them I just shut down the container and don't have to worry about it.

Re: Podman Desktop celebrates 3M downloads

#49

Does anyone actually use Podman on its own merit? The only use case I encountered is people who want to run Docker without root or admin permissions and use Podman just as a drop-in replacement.

Podman has good systemd integration, in the form of quadlets.

It lets you define a systemd job with some custom syntax and run it as a systemd service, and even stretches to allow some form of kubernetes YAML to be run as local (single node, rootless) containers!

Real nice.

See previous presentation on HN: https://news.ycombinator.com/item?id=43456934

Re: Podman Desktop celebrates 3M downloads

#50
The fact that many companies nowadays forbid to use Docker Desktop, because they refuse to pay for developer tools also helped with those downloads.

Likewise, I am contributing to Rancher Desktop downloads with such kind of customers.

Post reply on HN