|
|
|
|
|
by OriginalPenguin
32 days ago
|
|
My experience with any built in sandboxing for these command line tools has been awful. What I've done instead is built a script to create a disposable virtual machine (using incus to manage it). And then I just run the CLI inside the virtual machine and delete the vm at the end of each day. |
|
Local VMs are heavyweight but useful if you are sandboxing an entire IDE/GUI app like Cursor. With containers it's somewhat annoying to share local files - Distrobox helps with GUI apps and mounting the home directory but loses sandboxing. I have been curious about Flatpak/bubblewrap, but haven't had time to try it.
For now I've settled on containers, but I would like to shift to a remote VM like I have at work.