Most active commenters
  • raquuk(3)

←back to thread

1101 points codesmash | 16 comments | | HN request time: 0.506s | source | bottom
1. raquuk ◴[] No.45137666[source]
The "podman generate systemd" command from the article is deprecated. The alternative are Podman Quadlets, which are similar to (docker-)compose.yaml, but defined in systemd unit files.
replies(2): >>45137744 #>>45137747 #
2. stingraycharles ◴[] No.45137744[source]
Which actually makes a lot of sense, to hand over the orchestration / composing to systemd, since it’s not client <> server API calls (like with docker) anymore but actual userland processes.
replies(2): >>45138155 #>>45138441 #
3. broodbucket ◴[] No.45137747[source]
With almost no documentation, mind
replies(2): >>45137764 #>>45137785 #
4. raquuk ◴[] No.45137764[source]
I find the man page fairly comprehensive: https://docs.podman.io/en/latest/markdown/podman-systemd.uni...
replies(1): >>45139197 #
5. ◴[] No.45137785[source]
6. solarkraft ◴[] No.45138155[source]
It totally does! On the con side, I find systemd unit files a lot less ergonomic to work with than compose files that can easily be git-tracked and colocated.
replies(1): >>45138337 #
7. mariusor ◴[] No.45138337{3}[source]
What makes a systemd service less ergonomic? I guess it needs a deployment step to place it into the right places where systemd looks for them, but is there anything else?
8. Cyph0n ◴[] No.45138441[source]
Yep. It works even better on a declarative distro like NixOS because you can define and extend your systemd services (including containers) from a single config.

Taking this further (self-plug), you can automatically map your Compose config into a NixOS config that runs your Compose project on systemd!

https://github.com/aksiksi/compose2nix

9. tux1968 ◴[] No.45139197{3}[source]
Is linking to a 404 page meant to highlight the lack of docs, or is there some mistake?
replies(1): >>45139356 #
10. raquuk ◴[] No.45139356{4}[source]
Apparently the documentation was just updated. The new location is https://docs.podman.io/en/latest/markdown/podman-quadlet.7.h...
replies(2): >>45139627 #>>45141690 #
11. mdaniel ◴[] No.45139627{5}[source]
I do believe you about the "updated" part, and that's a constant hazard with linking to "latest" or "main" of anything. But I don't know why you'd then change the actual file in the URL, since the original comment was citing "podman-systemd.unit.5.html" <https://docs.podman.io/en/v5.6.1/markdown/podman-systemd.uni...> and you've chosen to cite quadlet.7
replies(1): >>45141738 #
12. vaylian ◴[] No.45141690{5}[source]
You can also look the documentation up locally: `man quadlet`
13. stryan ◴[] No.45141738{6}[source]
Not OP but "podman-systemd.unit.5" used to be the primary Quadlet documentation (a remnant of when it was podman-generate-systemd perhaps?) with every Quadlet file type (.container, .volume, .network, etwc) documented on one page.

The new docs split that out into separate podman-container/volume/etc.unit(5) pages, with quadlet.7 being the index page. So they're still linking to the same documentation, just the organization happened to change underneath them.

If you must see what they linked to originally, the versions docs are still the original organization (i.e. all on one page): https://docs.podman.io/en/v5.6.0/markdown/podman-systemd.uni...

replies(1): >>45144151 #
14. pvtmert ◴[] No.45144151{7}[source]
Not podman user (but currently trying to install to give it a shot), this comment stream shows how even the documentation "randomly disappearing" on a project that claims in production-ready or stable state. (Or lack thereof)

On the contrary, docker documentation *is* stable, I had bookmarks from 10-years ago on the *latest* editions, that still work today. The final link may have changed, but at least, there is a redirect (or a text showing that has been moved) instead of plain 404/not-found.

This is a crucial part of the quality applications offer. There might've been 100s of podmans probably since Docker was launched more than 10 years ago, but none came close to maintain high-quality of documentation and user-interface (ie. cli commands, switches). Especially in the backward-compatible way.

replies(1): >>45145543 #
15. stryan ◴[] No.45145543{8}[source]
The Podman reference section, which is what OP linked to, is a direct web version of the man pages. The main method of accessing it, the man pages, has not changed.

It's a different style of documentation organization: if you want to link to a specific version you should link to the specific version not latest. I won't argue it's necessarily a better way of doing things than Docker, but knowing it's the same thing as what's with the package is nice.

replies(1): >>45150051 #
16. pvtmert ◴[] No.45150051{9}[source]
You can tell users that "you are holding it wrong" or fix the actual problem that exists in the first place. Good luck telling millions of people to not to bookmark certain version, instead use this or that... Maybe, add just a redirect, a simple page with the link that says "Hey, this documentation has moved to there, click here".

Just put this thread into a whatever LLM. I overall see 2 major themes here. Compatibility and stability issues, all over the place. Not just documentation, but with other tools. Compose schema v2 does not match the current/latest one, missing functionality (although this one is acceptable at certain level), etc.

Also, as soon as the docs were "posted", it became obsolete/useless/deprecated. I mean, what sort of quality are we talking about here?