Podman: Difference between revisions

imported>Chuangzhu
Add instructions for using `virtualisation.oci-containers`
imported>TyberiusPrime
No edit summary
Line 22: Line 22:
https://gist.github.com/adisbladis/187204cb772800489ee3dac4acdd9947
https://gist.github.com/adisbladis/187204cb772800489ee3dac4acdd9947


Note that rootless podman requires newuidmap which can't come from the shadow Nix package on non-NixOS since [https://nixos.org/manual/nix/unstable/expressions/derivations.html setuid/setgid programs are not currently supported by Nix].
Note that rootless podman requires newuidmap (from shadow). If you're not on NixOS, this can't not be supplied by the Nix package 'shadow' since [https://nixos.org/manual/nix/unstable/expressions/derivations.html setuid/setgid programs are not currently supported by Nix].


== Run Podman containers as systemd services ==
== Run Podman containers as systemd services ==