12
Replacing docker/podman with Nixos?
(infosec.pub)
NixOS is a Linux distribution built on top of the Nix package manager. Its declarative configuration allows reliable system upgrades via several official channels of stability and size.
This community discusses NixOS, Nix, and everything related.
You could achieve something like that using bubblewrap; effectively a container. You can tell it to mount tmpfs wherever you like. That has other issues though.
That's a big of a complex setup which other people potentially working with you may not want to have. A clean task is just better. If you're using git anyways, you can also just use
git clean
.