fixing podmand virt
This commit is contained in:
1 parent
beb83f21b3
commit
8cb5978f3a
2 files changed
+3
-4
No files matched your search
@@ -33,7 +33,7 @@ consistently (compose tooling, user group membership, OCI backend, metrics).
|
||||
user to the `docker` group, and installs `docker-compose`.
|
||||
- **Podman** enables `dockerCompat` + docker socket so `docker`/`oci-containers` keep working,
|
||||
allows plain-HTTP pulls from `localDockerRegistries` via
|
||||
`virtualisation.containers.registries.settings`, and installs `podman-compose` + `podman-tui`.
|
||||
`virtualisation.containers.registries.insecure`, and installs `podman-compose` + `podman-tui`.
|
||||
- `openMetricsPort` opens the metrics port in the firewall (Docker only).
|
||||
|
||||
### Option namespace
|
||||
|
||||
@@ -14,9 +14,8 @@ in
|
||||
autoPrune.enable = true;
|
||||
};
|
||||
# Allow pulling from local registries that serve plain HTTP
|
||||
containers.registries.settings = lib.optionalAttrs (cfg.localDockerRegistries != [ ]) {
|
||||
registries.insecure.registries = cfg.localDockerRegistries;
|
||||
};
|
||||
# (e.g. minipc1.lab.internal:5001).
|
||||
containers.registries.insecure = cfg.localDockerRegistries;
|
||||
};
|
||||
environment.systemPackages = with pkgs; [ podman-compose podman-tui ];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user