tor-ctr/README.md
Vincent Batts e778fa424e
README: a little example so I remember the steps
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2024-06-21 14:56:40 -04:00

21 lines
495 B
Markdown

# 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
```