r/podman • u/-Arsna- • Oct 15 '26
Help understanding run, compose and quadlets
Hi everyone, im current struggling deciding if i should continues to use podman run scripts or switch to compose or quadlets.
Compose seems kindof weird because of the build in pods so my question for that is whats the compose equivalent to podman pod create and podman run --pod and why are you using or not using compose?
I lookes a bit into quadlets and they seem weird and kind of confusing, especially when it comes to storing the files, having all bunched up in containers/systemd with no subdirectories is kind of crowded, so why are you using or not using quadlets?
Which do you recommend and why?
4
u/Huxton_2021 Oct 15 '26
"continue to use"... for what? Personal dev environments? Disposable CI/CD workflows? Long-running system services? You also say you find some things "weird" and others "confusing" but don't provide any context there either. You can get much better responses if put some effort into your question.
1
u/Alejrot Oct 16 '26 edited Oct 16 '26
Compose files brings an easy way to orchestrate container deployments with all auxiliary components as networks, volumes, etc. using YAML files. It's very good for develpment environments but it's not recommended for production. About "pods":
podman-composecan wrap containers in pods, butpodman composeis another implementation that doesn't do that.Quadlets are an integration between Podman and Systemd services manager. It worths for long term containers but it can be very frustrating for development and debugging purposes. Subdirectories for Quadlets are allowed: it's not necessary to have all TOML files together.
EDIT: rewrote comment - Spanish traslation was on.
1
u/AnalNuts Oct 17 '26
I moved from docker to podman. I skipped the compose as it isn’t really a good way to use podman. Quadlets are amazing once you give the effort to get used to them.
1
u/i_am_art_65 Oct 20 '26
I'm using rootless containers with quadlets. They were confusing at first but CoPilot really helped. Note: you still need to have some debugging skills since CoPilot is confidently wrong many times.