This is a docker environment that you can build locally and be sure that all traffic from the browser goes through Tor.
I build it mostly for fun, to learn more about docker and iptables, inspired by this wish on reddit.
Presumably because you're paranoid.
- Install Docker and Docker Compose
git clone https://github.com/ahri/docker-private-browsing.git && cd docker-private-browsing
docker-compose build && docker-compose run browser
If your (host) uid/gid don't match 1000/1000 then you'll need to run with: docker-compose run browser `id -u` `id -g`
Firefox, Tor, IPTables and the Firefox extensions uBlock Origin and HTTPS Everywhere were used to build these containers on top of Alpine Linux.
I'm redistributing the above mentioned extensions but of course the copyright is entirely owned by the original authors.