ScaleTail icon indicating copy to clipboard operation
ScaleTail copied to clipboard

⚡️ Feature: Podman Quadlets in addition to docker-compose

Open bradloh opened this issue 8 months ago • 3 comments

Feature Description

It would be great if there were a few examples in this repo of accomplishing the same design pattern with Quadlets.

Problem It Solves

Podman Quadlets have improved security, reliability, and maintainability over docker-compose. Rootless operation, UID mapping, and systemd integration are huge wins from a server admin perspective.

Proposed Solution

To get started there's a conversion tool: https://github.com/containers/podlet

I'm not sure in what shape the maintainers would want to see quadlet support as there's a spectrum of options, so I thought I'd start the conversation first before trying any coding or writing.

Would you be willing to work on this feature?

  • [ ] Yes, I'd like to implement this feature
  • [x] I could help with parts of this feature
  • [ ] No, I'm just suggesting the feature

bradloh avatar Apr 05 '26 15:04 bradloh

@jackspiering Can assist you best here.

crypt0rr avatar Apr 06 '26 18:04 crypt0rr

Thanks for the suggestion, @bradloh, and sorry for the slow reply.

We have decided not to add Podman Quadlets. This repository focuses on Docker and Docker Compose only, for two reasons:

  • Maintenance. Every service would need a second set of files that has to stay in sync with its compose.yaml. Each repository-wide change would then have to be made and tested twice.
  • Complexity. The services rely on Compose features that Quadlets do not have, such as variable substitution from .env and the inline Tailscale Serve config. A Quadlet version would therefore be a hand-written rework of each service rather than a conversion, and contributors would need to know both formats.

If you want to run a service with Podman, Podlet is a good starting point for converting its compose.yaml. You are of course welcome to maintain Quadlet versions in your own repository.

I am closing this as not planned. Thanks again for raising it.

jackspiering avatar Oct 06 '26 21:10 jackspiering

The request was for "a few examples" rather than a full duplication of work. Even just 1 example would be a great starting point for someone who needs to use Quadlets and is considering Tailscale.

bradloh avatar Oct 07 '26 01:10 bradloh