nixos: podman without sudo for the admins; re-key the rehearsal ops
All checks were successful
nixos / nixos (push) Successful in 35s
All checks were successful
nixos / nixos (push) Successful in 35s
`podman` run as an admin showed that user's own, empty rootless store, so `podman ps` needed sudo while `docker ps` did not. Point CONTAINER_HOST at the system Podman's socket, which group podman (the admins) may use. The rehearsal ops server was rebuilt and has a new host key. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
5742e06332
commit
f49dd72172
1 changed files with 16 additions and 12 deletions
|
|
@ -22,6 +22,10 @@
|
|||
virtualisation.oci-containers.backend = "podman";
|
||||
|
||||
environment.systemPackages = [ pkgs.docker-client ];
|
||||
# `podman` talks to the same system Podman too, for every admin without
|
||||
# sudo (they are in group podman, which owns the socket); otherwise it
|
||||
# would show each user's own, empty rootless store
|
||||
environment.variables.CONTAINER_HOST = "unix:///run/podman/podman.sock";
|
||||
# Podman's DNS for container networks, on each bridge's gateway. The
|
||||
# NixOS module opens it on podman0 only; CI jobs and compose stacks get
|
||||
# networks of their own (podman1, podman2, ...).
|
||||
|
|
|
|||
Loading…
Reference in a new issue