File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 72
72
- [ TLS Interception] ( #tls-interception )
73
73
- [ TLS Interception With Docker] ( #tls-interception-with-docker )
74
74
- [ GROUT (NGROK Alternative)] ( #grout-ngrok-alternative )
75
+ - [ Grout using Docker] ( #grout-using-docker )
75
76
- [ How Grout works] ( #how-grout-works )
76
77
- [ Self-hosted Grout] ( #self-hosted-grout )
77
78
- [ Proxy Over SSH Tunnel] ( #proxy-over-ssh-tunnel )
@@ -1348,6 +1349,22 @@ SUPPORT:
1348
1349
https://jaxl.io
1349
1350
```
1350
1351
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
+
1351
1368
## How Grout works
1352
1369
1353
1370
- ` grout ` infrastructure has 2 components: client and server
You can’t perform that action at this time.
0 commit comments