tor-ctr/README.md

22 lines
495 B
Markdown
Raw Permalink Normal View History

2024-06-21 18:53:44 +00:00
# tor-ctr
This container with `NET_ADMIN` and `NET_RAW` privileges is fully inside the tor router that it spins up.
Which is nice for itself, but then other container can link and use the network as well.
Used the prior work of [tor-box](https://git.batts.cloud/vbatts/tor-box).
## Example
```shell
cd tor-ctr/
docker-compose up --build
```
Then from another shell:
```shell
docker run -it --rm --network=container:tor-ctr_tor_1 r.batts.cloud/debian:bookworm
curl ip.batts.cloud/json
```