Skip to content

Commit afa89bc

Browse files
committed
Grout (ngrok alternative) using Docker doc
1 parent 7bb04c0 commit afa89bc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
- [TLS Interception](#tls-interception)
7373
- [TLS Interception With Docker](#tls-interception-with-docker)
7474
- [GROUT (NGROK Alternative)](#grout-ngrok-alternative)
75+
- [Grout using Docker](#grout-using-docker)
7576
- [How Grout works](#how-grout-works)
7677
- [Self-hosted Grout](#self-hosted-grout)
7778
- [Proxy Over SSH Tunnel](#proxy-over-ssh-tunnel)
@@ -1348,6 +1349,22 @@ SUPPORT:
13481349
https://jaxl.io
13491350
```
13501351

1352+
## Grout using Docker
1353+
1354+
```console
1355+
docker run -it \
1356+
--entrypoint grout \
1357+
--rm -v ~/.proxy:/root/.proxy \
1358+
abhinavsingh/proxy.py:latest \
1359+
http://host.docker.internal:29876
1360+
```
1361+
1362+
Above:
1363+
1364+
- We changed `--entrypoint` to `grout`
1365+
- We replaced `localhost` with `host.docker.internal`, so that `grout` can route traffic to port `29876` running on the host machine
1366+
- *(Optional)* Mount host machine `~/.proxy` folder, so that `grout` credentials can persist across container restarts
1367+
13511368
## How Grout works
13521369

13531370
- `grout` infrastructure has 2 components: client and server

0 commit comments

Comments
 (0)