-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
I'm not exactly sure where this discussion is most appropriate since it's about TWiR development rather than content, but I wanted to suggest including Podman support as an optional alternative to Docker, since Podman is totally open-source and an almost 1-to-1 drop-in replacement for Docker. I've personally gotten this to work on two of my own machines (macOS and Windows through WSL), and it was quite literally almost as simple as a "Find and Replace All" command on the justfile to swap out podman in place of docker.
I definitely wouldn't want to disrupt any existing workflows with the added support, so I'd aim for a solution where the Podman support is opt-in, keeping Docker as the default (e.g. just website would use Docker, while just website podman would execute the same recipes, but using podman in place of docker). Since just supports recipe parameters with default values (see here), as well as conditional expressions inside recipes (here), I think this should be relatively simple.
I'm happy to write and submit the PR myself, but I wanted to post it as an issue first to make space for discussion. The obvious downside is that it adds some complexity to the justfile, which maintainers may not see as being worth it to support what will likely be a relatively small number of contributors. Obviously I'm in favor of the support, and personally I'll continue using Podman either way, but I totally understand if maintainers aren't interested in adding it to the repo in general.