Build a private docker-Registry Repository

Source: Internet
Author: User

Many official versions of Linux images can be downloaded directly from the official repository (Public repositories. Considering the security and speed, we may want to set up a private repositories in our own LAN to store our own images. docker-registry is the tool we need.

git clone git clone https://github.com/docker/docker-registry.gitcd docker-registry/configcp config_sample.yml config.yml

When you use apt-get to install the software package in Debian, you are often prompted to insert a netinst disc:

Media change: please insert the disc labeled

You can open the file when you cannot install it./Etc/APT/sources. ListFile, comment out the line of CDROM,

Then executeApt-Get updateUpdate the Deb repository,

In this way, you will no longer search for CDROM when installing apt-Get.

 

Install necessary software packages and Python tools and libraries required by docker-registry:

 

apt-get install build-essential python-dev libevent-dev python-pip libssl-dev

 

Build a private docker-Registry Repository

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.