tor-browser/README.md

47 lines
1.1 KiB
Markdown
Raw Normal View History

2016-02-27 17:56:39 +00:00
# tor-browser
2019-05-08 17:53:51 +00:00
This repo defines the `tor-browser` Docker image updated and cloned from [hkjn](https://github.com/hkjn/tor-browser).
## Install:
- Need `docker`
```
./build.sh
```
## Usage:
2016-03-02 04:42:21 +00:00
You can run tor-browser in a container with a command like:
```
2019-05-08 17:53:51 +00:00
./tor_browser.sh
or
docker run -it --rm --name tor-browser \
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-e DISPLAY=unix$DISPLAY \
2019-05-08 17:53:51 +00:00
tb
```
If you want to specify a custom `torrc` file, that can be done with:
```
docker run -it --rm --name tor-browser \
2017-01-27 05:44:01 +00:00
-v /host/dir/containing/torrc:/conf:ro \
-e TORRC_PATH=/conf/torrc \
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-e DISPLAY=unix$DISPLAY \
2019-05-08 17:53:51 +00:00
tb
```
2019-05-12 09:00:46 +00:00
## Pull fresh image directly from our registry.gitlab.com:
```
docker run -it --rm --name tor-browser \
-v /host/dir/containing/torrc:/conf:ro \
-e TORRC_PATH=/conf/torrc \
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-e DISPLAY=unix$DISPLAY \
registry.gitlab.com/manalejandro/tor-browser:latest
```