search

Home  >  Q&A  >  body text

docker - 有没有办法搭建自己的镜像服务器?

如题,最近团队在研究docker,从国外的镜像服务器pull/push太慢了,经常失败,走代理好一点儿了,还是速度慢,有没有办法直接在自己的局域网服务器上搭建镜像服务器?就像搭建git服务器那样。

天蓬老师天蓬老师2763 days ago780

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理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:

    • https://github.com/dotcloud/docker-registry/pull/251
    • https://github.com/guiyang/docker-registry/blob/aliyun-oss/lib/storage/aliyun_oss.py

    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

    reply
    0
  • 伊谢尔伦

    伊谢尔伦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

    reply
    0
  • Cancelreply