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-square48fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-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-square48fedilinkfile-text
minus-squareMax-P@lemmy.max-p.melinkfedilinkarrow-up0·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 linux@lemmy.ziplinkfedilinkEnglisharrow-up0·1 month agoDon’t use docker with distrobox. Use podman instead as it is rootless and faster
minus-squareMwa@lemm.eelinkfedilinkEnglisharrow-up0·1 month agoDocker for servers and Rodman for home pcs
minus-squarePossibly linux@lemmy.ziplinkfedilinkEnglisharrow-up0·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