Hacker News new | ask | show | jobs
by Thriptic 2221 days ago
It's also possible to run a web browser in a docker container which can be interacted with on the host OS. This avoids the permissions issues with solutions like firejail:

https://blog.jessfraz.com/post/docker-containers-on-the-desk...

3 comments

`docker` implies access to the Docker daemon, which is not an improvement over the setuid binaries anderspitman found distasteful.

https://docs.docker.com/engine/security/security/#docker-dae...

Genuine question, would LXD be any better? I'm not an expert in containerization but I find it really interesting.

There are some blogs that talk about how to do this: https://blog.simos.info/how-to-easily-run-graphics-accelerat...

If it runs in the same Xwindows session no.
If your docker is in fact podman your rootless might be attainable.
Please don't suggest using Docker to sandbox a GUI app.
That's not a good idea. The attack surface of docker is enormous compared to firejail.