security: keep rootless podman storage on /mnt/data
Container images and build caches (anotherim-js's build images alone are several GB each) had filled the root filesystem, and a NDK unzip in an image build failed with the disk full. Point rootless_storage_path at the data disk. Existing storage was moved there with its libpod database paths rewritten. Assisted-by: Claude:opus-5
This commit is contained in:
parent
bb58347c93
commit
827465ca59
1 changed files with 2 additions and 0 deletions
|
|
@ -75,6 +75,8 @@
|
|||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
oci-containers.backend = "podman";
|
||||
# Rootless images and build caches on the data disk, not the root fs
|
||||
containers.storage.settings.storage.rootless_storage_path = "/mnt/data/containers/$USER";
|
||||
};
|
||||
|
||||
virtualisation.docker.enable = lib.mkForce false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue