From e778fa424ef892fc2db0db50d2944eda1f96f103 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Fri, 21 Jun 2024 14:56:40 -0400 Subject: [PATCH] README: a little example so I remember the steps Signed-off-by: Vincent Batts --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 9dfc2c7..8cc3d8a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,21 @@ # 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 +```