Sign inSign up

avpnusr/torbrowser

By avpnusr

Updated 14 days ago

TorBrowser in docker container for usage in X11 server

Image
2

4.3K

avpnusr/torbrowser repository overview

TOR Browser Logo

TorBrowser in docker container (for X11 server with GUI)

This repository has multi architecture support and is regularly updated.
Container is built for amd64, arm and arm64.

Versions in the latest image

Start your container

Use the below start-sequence to get a running TorBrowser displaying ob your host X11 server.
Be aware, that this was of accessing the X11 server is not the safest, you will find more secure methods online.
The consistent profile is quite a pain, but in most cases you want anonymity and nothing stored on the host!

docker run -it \
      --memory 1gb \
      -v /tmp/.X11-unix:/tmp/.X11-unix:ro \
      -e DISPLAY=$DISPLAY \ # to display on your host X11
      -v $HOME/Downloads/torbrowser:/tmp/Downloads \ # to access your downloads on host
      -v $HOME/.config/tor:/opt/tor-browser_en-US/Browser/TorBrowser/Data/Browser/profile.default \ # if you want consistent profile
      --device /dev/snd \ # to have sound output
      --device /dev/dri/card0 \ # to use graphics card acceleration (if needed)
      -v /dev/shm:/dev/shm \ 
      -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket \ #might need a change to your system
     --name torbrowser \
      avpnusr/torbrowser:latest

If you close the browser window, you can restart the container any time with:

docker start torbrowser

Tag summary

Content type

Image

Digest

sha256:95dd44cdf

Size

232.3 MB

Last updated

14 days ago

docker pull avpnusr/torbrowser