heh, that's neat: https://github.com/httptoolkit/docker-registry-facade (Apache 2) although the rest of their stuff seems to be AGPLv3 https://github.com/httptoolkit/httptoolkit-android/blob/v1.3...
In general the source for core components that can't really be used for anything else is AGPL, but all the generally reusable libraries are Apache 2 or similar. The goal is to share as much as possible, and let everybody access the source for everything, and fork for their own use or submit modifications or whatever, but without the risk that a proprietary product runs off with the core product in a different direction. Seems to be working reasonably so far!
Regarding Docker, you might also be interested in https://github.com/httptoolkit/docker-socks-tunnel (1MB Docker container that runs a socks proxy, for tunnelling traffic between networks) and this detailed breakdown of how the whole Docker interception setup works under the hood: https://httptoolkit.com/docs/guides/docker/#the-technical-de...