[Solved] This maybe a strange question but can I run a Linux app in a separate container/sandbox? Without its dependencies bloating my host OS?

ColdWater@lemmy.ca to Linux@lemmy.ml – 74 points –

Because I hate Electron

50

You are viewing a single comment

IIRC that's the whole point of flatpak, snap and appimage

Docker can probably do it too, distrobox puts a useful wrapper on that

Nix does that kind of, nix packages aren't isolated in that they can't access resources on your system but all dependencies are stored in the nix store, hashed and isolated from eachother, and wiped when you collect garbage

Appimage doesn’t do deduplication of packages does it?

No, I apparently missed that but

Nix is the best solution anyway imo