File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments