ColdWater@lemmy.ca to Linux@lemmy.ml · edit-21 month 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-up172arrow-down10file-text
arrow-up172arrow-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-21 month agomessage-square51fedilinkfile-text
minus-squareMax-P@lemmy.max-p.melinkfedilinkarrow-up56·1 month 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 linuxlinkfedilinkEnglisharrow-up9·1 month agoDon’t use docker with distrobox. Use podman instead as it is rootless and faster
minus-squareMwa@lemm.eelinkfedilinkEnglisharrow-up1·1 month agoDocker for servers and Rodman for home pcs
minus-squarePossibly linuxlinkfedilinkEnglisharrow-up1·1 month 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