Wrote an article
https://raesene.github.io/blog/2021/09/05/restricting-docker-access-with-a-proxy/