3 ms·
Hi HN! I've been working on adding in-depth Docker support to HTTP Toolkit for literally years (I added it as GitHub issue #1 when I started the project - http
by pimterry 4y ago
Hi HN!
I've been working on adding in-depth Docker support to HTTP Toolkit for literally years (I added it as GitHub issue #1 when I started the project - https://github.com/httptoolkit/httptoolkit/issues/1 https://github.com/httptoolkit/httptoolkit/issues/1). I think it's finally ready :-).
HTTP Toolkit is an open-source network debugging tool that lets you inspect and rewrite any HTTP or HTTPS traffic, primarily focused on Android & web until recently, and this now makes it fully capable for a lot more backend workflows and other neat use cases.
Internally, this uses some tricks to intercept all your interactions with the Docker API (like creating a container) for processes from an intercepted terminal window, and then automatically transform all those API interactions en route to inject extra environment variables & configuration, and thereby make almost any application redirect traffic via the proxy and trust its certificate for HTTPS.
I imagine the HN crowd might be keen on looking under the hood - there's a full write-up on how this works at https://httptoolkit.com/docs/guides/docker/#the-technical-details https://httptoolkit.com/docs/guides/docker/#the-technical-de... and the source is all available on GitHub: https://github.com/httptoolkit/ https://github.com/httptoolkit/.
Give it a go, let me know if you have any questions or feedback at all :-)