TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: One-click HTTP(S) inspection and mocking for any Docker container

3 pointsby pimterryover 2 years ago

1 comment

pimterryover 2 years ago
Hi HN!<p>I&#x27;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 - <a href="https:&#x2F;&#x2F;github.com&#x2F;httptoolkit&#x2F;httptoolkit&#x2F;issues&#x2F;1" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;httptoolkit&#x2F;httptoolkit&#x2F;issues&#x2F;1</a>). I think it&#x27;s finally ready :-).<p>HTTP Toolkit is an open-source network debugging tool that lets you inspect and rewrite any HTTP or HTTPS traffic, primarily focused on Android &amp; web until recently, and this now makes it fully capable for a lot more backend workflows and other neat use cases.<p>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 &amp; configuration, and thereby make almost any application redirect traffic via the proxy and trust its certificate for HTTPS.<p>I imagine the HN crowd might be keen on looking under the hood - there&#x27;s a full write-up on how this works at <a href="https:&#x2F;&#x2F;httptoolkit.com&#x2F;docs&#x2F;guides&#x2F;docker&#x2F;#the-technical-details" rel="nofollow">https:&#x2F;&#x2F;httptoolkit.com&#x2F;docs&#x2F;guides&#x2F;docker&#x2F;#the-technical-de...</a> and the source is all available on GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;httptoolkit&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;httptoolkit&#x2F;</a>.<p>Give it a go, let me know if you have any questions or feedback at all :-)