4 ms·
I am actually running a few of my daily applications, such as firefox, vscode, or spotify inside a podman container (rootless makes me feel a little safer). I b
by moody5bundle 5y ago
I am actually running a few of my daily applications, such as firefox, vscode, or spotify inside a podman container (rootless makes me feel a little safer). I build a small python script around it, which creates a desktop icon, tags the current version (so you can rollback), and updates the images after x amount of time. I'll clean it up and put it on github if someone is interested :)
- ntietz 5y agoPlease do share! I would be interested in seeing it and doing something similar (and use podman for the same reason).
- moody5bundle 5y agoI will! cleaning up now and going to publish it later on github. The main idea was a least privilege approach to running simple desktop applications independent from the host OS and being able to control filesystem/network access on a per app basis. (spotify on fedora without flatpak or rpm-fusion repo's, not even sudo needed to install)
- zozbot234 5y agoNo real need for full Flatpak, Bubblewrap (bwrap) is intended to be a lightweight sandbox providing this out of the box, with Flatpak (and other stuff besides) building upon it. The Arch wiki has a nice introductory page: https://wiki.archlinux.org/title/Bubblewrap https://wiki.archlinux.org/title/Bubblewrap
- moody5bundle 5y agoOh didn't know about bwrap yet! If i understand the wiki page correctly, you still need to get those binaries to your pc. So thats why i went with plain and simple dockerfiles.
- Proven 5y ago
- moody5bundle 5y agohere you go: https://github.com/mody5bundle/capps https://github.com/mody5bundle/capps please feel free to open issues and pull requests :)
- bogwog 5y agoIsn’t this what Flatpaks are for? Idk if they use podman, but they do use similar sandboxing features. Having a full blown container like this can be useful in some scenarios, but I think it’s overkill for general purpose apps.
- deleted 5y ago[deleted]
- moody5bundle 5y agoi think they use bwrap as mentioned in a comment below. my use case is to restrict network access for example. Or running multiple firefox instances in parallel (so they dont have the same parent process / cookies etc.). or restrict memory for to 2G per container. there were just a few things i wanted to do that didn't quiet work with flatpak or snap.
- traverseda 5y agoFirejail is really nice...