The docs for doing it with the distribution (v2) registry can be found in the repo: https://github.com/docker/distribution/blob/master/docs/mirror.md
I followed those instructions a few weeks ago to set that up on my home network, and it works fairly well.
It isn’t a true mirror, but a caching proxy.
/Jeff