Is there any way to build your own mirror server?

  docker, question

For example, the team is studying docker recently. pull/push from overseas mirror servers is too slow and often fails. It is better to act as an agent, or is the speed slow. Is there any way to directly build a mirror server on your own LAN server? It’s like building a git server.

Docker providesdocker-registryThe project is convenient for users to build their own private warehouse. You can choose local storage or Amazon S3 storage, and there are also domestic developers migrating to Aliyun storage:

A Building Guide for Foreign Developers:http://www.dockboard.org/deploy-your-own-private-docker-registry

A Building Guide for Domestic Developers:http://www.dockboard.org/build-your-own-docker-repository

All these official projects are based on Python, and there are also Golang-based implementations:https://github.com/dotcloud/docker-registry/tree/master/contrib/golang_impl