[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [community/master] Remove instructions for manual invokation.
commit 226dd761fc037507d7dfbc96d31a1a5aaeba5d10
Author: Philipp Winter <phw@xxxxxxxxx>
Date: Fri Aug 9 09:42:20 2019 -0700
Remove instructions for manual invokation.
The instructions stopped working because docker messed up its command
line parsing: <https://github.com/docker/cli/issues/1962>
Besides, lektor doesn't like backslashes in code blocks.
---
.../technical-setup/bridge/docker/contents.lr | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/content/relay-operations/technical-setup/bridge/docker/contents.lr b/content/relay-operations/technical-setup/bridge/docker/contents.lr
index 9ff4a6e..ca3d7f7 100644
--- a/content/relay-operations/technical-setup/bridge/docker/contents.lr
+++ b/content/relay-operations/technical-setup/bridge/docker/contents.lr
@@ -8,22 +8,11 @@ We are maintaining a docker container that allows you to quickly set up an obfs4
`docker pull phwinter/obfs4-bridge:0.1`
-Now, it's time to run the container. You have two options:
-
-1. We maintain a script that automatically determines a free OR and obfs4 port for you. The script only requires your email address as argument:
+Now, it's time to run the container. We maintain a script that automatically determines a free OR and obfs4 port for you. The script only requires your email address as argument:
```
$ curl https://dip.torproject.org/torproject/anti-censorship/docker-obfs4-bridge/raw/master/deploy-container.sh > deploy-container.sh
$ bash deploy-container.sh address@xxxxxxxxx
```
-2. If you would rather provide your own ports, run the following command and replace `XXX` with your OR port, `YYY` with your obfs4 port, and `address@xxxxxxxxxxx` with your email address. Don't forget the semicolon after the environment variables.
-
- ```
- OR_PORT=XXX PT_PORT=YYY EMAIL=address@xxxxxxxxxxx; \\
- docker run -d \\
- -e "OR_PORT=$OR_PORT" -e "PT_PORT=$PT_PORT" -e "EMAIL=$EMAIL" \\
- -p "$OR_PORT":"$OR_PORT" -p "$PT_PORT":"$PT_PORT" \\
- phwinter/obfs4-bridge:0.1
- ```
That's it! Your container should now be bootstrapping your new obfs4 Tor bridge.
---
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits