Docker Registry Construction

Source: Internet
Author: User
Tags docker registry
1. Create a Docker Registry container command:
Docker run-d-P 5000:5000 Registry
2, after the container starts, Access http://ip:5000, you can see:
"\" Docker-registry server\ ""
3. Label the image and point it to your registry docker tag 1e6ed717014b Localhost:5000/donhui/jenkins where 1e6ed717014b is the mirror ID
4. Push image to registry Docker push Localhost:5000/donhui/jenkins
5. From registry pull Mirror Docker pull Localhost:5000/donhui/jenkins
to view the image in Resistry using Csphere:

Note: registry:latest represents deprecated registry, while the Docker registry HTTP API also has V1 and V2 versions. the tags >= 2 refer to the new registry.
Older tags refer to the deprecated registry.

Reference: http://docs.docker.com/registry/https://registry.hub.docker.com/_/registry/
Other: The following article about Docker registry is good http://seanlook.com/2014/11/13/deploy-private-docker-registry-with-nginx-ssl/

Docker Registry Construction

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.