ColdWater@lemmy.ca to Linux@lemmy.ml · edit-22 months ago[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?message-squaremessage-square51fedilinkarrow-up175arrow-down10file-text
arrow-up175arrow-down1message-square[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 · edit-22 months agomessage-square51fedilinkfile-text
minus-squareMax-P@lemmy.max-p.melinkfedilinkarrow-up55arrow-down1·2 months agoDocker, Distrobox, Toybox, systemd-nspawn, chroot. Technically those all rely on the same kernel namespace features, just different ways to use it. That’s also what Flatpaks and Snaps do. If you only care about package bloat, an AppImage would do too but it’s not a sandbox like Flatpak.
minus-squarePossibly linux@lemmy.ziplinkfedilinkEnglisharrow-up9·2 months agoDon’t use docker with distrobox. Use podman instead as it is rootless and faster
minus-squareMwa@lemm.eelinkfedilinkEnglisharrow-up1·2 months agoDocker for servers and Rodman for home pcs
minus-squarePossibly linux@lemmy.ziplinkfedilinkEnglisharrow-up1·2 months agoPodman goes well with Kubernetes. It also is more performant than docker. I use both
Docker, Distrobox, Toybox, systemd-nspawn, chroot.
Technically those all rely on the same kernel namespace features, just different ways to use it.
That’s also what Flatpaks and Snaps do. If you only care about package bloat, an AppImage would do too but it’s not a sandbox like Flatpak.
Don’t use docker with distrobox. Use podman instead as it is rootless and faster
Docker for servers and Rodman for home pcs
Podman goes well with Kubernetes. It also is more performant than docker.
I use both
Oh