RE: https://burningboard.net/@Larvitz/116352312022941855

The #mustread on #podman done right, when you are ready to step up from docker.

@jwildeboer @Larvitz So good, it's ridiculous that podman/quadlet still feels like some kind of secret science.
I'm so fed up with explaining why deploying prod with "compose up" isn't it.

@jwildeboer Thanks for the mention 🙂

This blog article was by far the hardest one to finish. The first draft has been sitting in my blog's git repo since November last year, and I kept rewriting sections over and over until they felt right. Today, I finally added the closing paragraph about Ansible and hit publish. Otherwise I'd probably have sat on it for another 6 months.

@Larvitz I know the feeling, my blog repo is also having a bunch of drafts that I should finish. But you made it! It's out :) Congrats!
@jwildeboer @Larvitz Thanks for this great post! I'm in the process of building a homelab with Core OS and Podman/Quadlets. It looks great, but I often find the lack of docs and blog posts difficult.
If I may, I'd have one question I specifically struggle with: When provisioning Podman Containers with Quadlets on Core OS with Butane/Ignition, how do I reprovision cleanly while keeping container data/volumes? Put /var on a different drive and keep that while reinstalling the OS? Anything smarter?
@jwildeboer @Larvitz Bonus question if that is the way to go: How do I clean up changed or removed containers/volumes? Just manual clean up with podman? Or is there anything automated for quadlets that got removed?

@kraftner @jwildeboer

I don't know much about Core OS, but the cleanup with Podman is rather easy:

podman system prune -- Cleans unused images, containers, networks etc (-a makes it more thorough)

podman volume prune -- Cleans volumes, not attached to a contianer.

@Larvitz @jwildeboer Yeah okay that was what I figured out for now too. Probably gonna run that as part of the re-provisioning. Just wondered if there is some other way that ties into the automated provisioning with butane/ignition because that felt a little bit tacked on. But probably the best way. Thanks for the response, and the blog post again!