this post was submitted on 27 Oct 2025
219 points (99.1% liked)

Linux

9942 readers
2050 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

Let’s walk through what Podman is and how to use it as a Docker alternative on Linux. Expect a straightforward guide on installing Podman, running containers with it, and understanding the basics.

you are viewing a single comment's thread
view the rest of the comments
[–] MalReynolds@piefed.social 56 points 3 days ago* (last edited 3 days ago) (3 children)

Podman is great, but I only found it useful after learning quadlets and how to use podlet to generate quadlets (or quadlet pods) from dockerfiles. Now all my containers run with nice systemd commands in rootless podman containers instead of rooted dockerfiles (coz docker requires root unless you jump through hoops, when I started you couldn't). Quadlet syntax is so much cleaner than docker too.

[–] illusionist@lemmy.zip 21 points 2 days ago (1 children)

You can also just use podman compose without learning a new system and just use published compose files directly.

rootless docker isn't too difficult (anymore). I wouldn't change a running system but for a new system it's always podman.

[–] victorz@lemmy.world 11 points 2 days ago* (last edited 2 days ago)

I wonder why someone down-voted you. I wish people would contribute to the discussion rather than down vote sometimes.

[–] SinTan1729@programming.dev 5 points 2 days ago (1 children)

I like quadlets, but I wish podlet could handle translating external networks. Right now, it just fails, and needs manual intervention. Also, afaik, there's no way to preserve comments when translating.

For me, it's the opposite. I vastly prefer the compose syntax. In general, I guess I prefer yaml based syntax to toml or json based ones. It's just more readable due to the indentation.

[–] MalReynolds@piefed.social 5 points 2 days ago (1 children)

but I wish podlet could handle translating external networks. Right now, it just fails, and needs manual intervention. Also, afaik, there’s no way to preserve comments when translating.

Yeah, valid, it always needs an eye on the output, but it gets you at least 90+% of the way, often 100%.

I like that the syntax is systemd derived, YMMV I guess.

[–] lastweakness@lemmy.world 1 points 2 days ago

I like that the syntax is systemd derived, YMMV I guess.

I don't "like" it over YAML, but I like that I can use systemd specifiers.

[–] w3ird_sloth@lemmy.world 1 points 1 day ago