mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Explain how to bypass the Docker proxy
Neither myself nor bhaskerh@ can consistently remember how to do this. PiperOrigin-RevId: 320407005
This commit is contained in:
committed by
gVisor bot
parent
c4815af947
commit
8d2910a04d
@@ -129,3 +129,13 @@ go tool pprof -top /usr/local/bin/runsc /tmp/cpu.prof
|
||||
```
|
||||
|
||||
[pprof]: https://github.com/google/pprof/blob/master/doc/README.md
|
||||
|
||||
### Docker Proxy
|
||||
|
||||
When forwarding a port to the container, Docker will likely route traffic
|
||||
through the [docker-proxy][]. This proxy may make profiling noisy, so it can be
|
||||
helpful to bypass it. Do so by sending traffic directly to the container IP and
|
||||
port. e.g., if the `docker0` IP is `192.168.9.1`, the container IP is likely a
|
||||
subsequent IP, such as `192.168.9.2`.
|
||||
|
||||
[docker-proxy]: https://windsock.io/the-docker-proxy/
|
||||
|
||||
Reference in New Issue
Block a user