How Can I Run Firefox in a Container for Extra Security?
Asked by
190cm jump
I'm curious if running Firefox in a container is possible by default with Flatpak, or if I need to set it up myself. I think isolating my browser would add some great security, almost like putting it in a protective bubble! What are my options here?
Answers
You could check out Kasm. It's a neat solution that combines browsers with Apache Guacamole, allowing you to run everything in Docker. Super simple to set up too!
Reply to this answer
Both Snap and Flatpak let you run apps in a container, but they work a bit differently. Snap is tightly integrated with your system but doesn't depend on it as much, while Flatpak gives you more isolation, but can feel a bit slower if you change the permissions. If you want easy setup, the Snap version of Firefox is a solid choice since it requires minimal user effort.
Reply to this answer
You might even look into using something like Podman or Docker to create a lightweight distro for Dropbox, then install Firefox there. It's user-friendly and still keeps things contained. Flatpak is a good option too, since it sandboxed Firefox.
Reply to this answer
Flatpak isn't exactly a container, more like a sandbox for apps. If you want real containerization, consider using Docker to run Firefox. VMs work too, but they're generally heavier.
Reply to this answer
Add your answer
Answers are reviewed before publication.
+!for the record~: Totally agree! Snap's a great way to go for that balance of convenience and isolation.