如题,最近团队在研究docker,从国外的镜像服务器pull/push太慢了,经常失败,走代理好一点儿了,还是速度慢,有没有办法直接在自己的局域网服务器上搭建镜像服务器?就像搭建git服务器那样。
大家讲道理2017-04-21 10:57:50
Docker provides the docker-registry project to facilitate users to build their own private warehouses. You can choose local storage or Amazon S3 storage. Domestic developers have also migrated to Alibaba Cloud storage:
A construction guide from 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 implementations based on Golang: https://github.com/dotcloud/docker-registry/tree/master/contrib/golang_impl
伊谢尔伦2017-04-21 10:57:50
http://www.dockerpool.com
You can check it out here. It provides base image download and private warehouse package. You can download it directly from pull