Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a programs.podman module #54925
Motivation for this change
`podman` requires some configuration files, and system package available. This allows to do that by just using `programs.podman.enable = true` in a nixos configuration. Signed-off-by: Vincent Demeester <email@example.com>
@vdemeester is it supposed to be used with a non root user?
while it downloads the
It would also be nice to add a really simple test that could be used to easily check this module is working. Something similar to https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/yabar.nix.
bachp left a comment
Running as root works without issue.
Rootless mode seems to have additional issues with version 1.2.0 then the ones already described.
I get the following two errors when trying to pull an image:
But I think we can look into rootles mode in a separate PR.
saschagrunert left a comment
I really like that. I think it might be necessary to add a wrapper for containers/storage and containers/image based configurations, which then can be used by podman, buildah, slopes and CRI-O. WDYT?