lainchan / Ω

(untitled)

Unspecified · 2025-07-31 16:41
Anyone knows a better way to isolate apps without using resource intensive VMs? VMs take a lot of memory space and storage space especially if you wish to isolate 1 App per VM, which you sometimes need to do. I know things like whonix and qubes exist, but I don't want to daily drive them, and I just want a basic separation layer that doesn't eat resources.
Ivan Petrov · 2025-07-31 17:19
>>87835 Containers have been around since forever. Docker has been out for over a decade now. It's what they are for.
Junichi Fujiwara · 2025-07-31 17:33
>>87837 Possible to bind a proxy with each process smoothly using Docker?
Acid Burn · 2025-07-31 19:29
>>87838 https://stackoverflow.com/questions/70971310/how-to-make-docker-container-connect-everything-through-proxy
Graphene User · 2025-08-01 01:07
Docker or kubernetes, as above lainon said, containerization is key.
Lady 3Jane.. · 2025-08-01 01:20
Docker, Podman, and if you're feeling frisky you can use Freebsd with Jails. Also if you're using a systemd-based linux operating system you could try systemd's nspawn utility, but it's a less popular (read: less documented) solution than the other ones. Pretty nifty though.
Nobody special · 2025-08-01 12:02
You can use Apparmor + Firejail. simple and straightforward.
Joe Bloggs · 2025-08-01 15:14
>>87835 For my torbrowser chroot on my gentoo machine without dbus etc. use debootstrap to make a chroot container and the following to execute from outside the chroot: alias torbrowser-launcher=' \ sudo mount --bind /dev ${HOME}/Jail/dev && \ sudo mount --bind /dev/pts ${HOME}/Jail/dev/pts && \ sudo mount --bind /proc ${HOME}/Jail/proc && \ sudo mount --bind /sys ${HOME}/Jail/sys && \ sudo mount --bind /run ${HOME}/Jail/run && \ sudo -E chroot ${HOME}/Jail /bin/su amnesia -c "apulse torbrowser-launcher"' Not sure if would suggest it or not, it's probably a bit of a dated approach.
Ivan Horvat · 2025-08-01 16:40
>>87874 >compound command as alias >sudo >sudo fuarrrking mount what's even the fuarrrking point dude. man schroot at least.
Neo · 2025-08-04 04:37
>>87874 Yeah, use bubblewrap to do all that kind of user namespace isolation + bind mounting.