Docker Private Source

Source: Internet
Author: User

Server ip:192.168.1.55:5000

#docker Pull Resistry

#docker run-itd-p 5000:5000-v/opt/data/registry/:/tmp/registry Registry

=============

Client Configuration


#vi/etc/sysconfig/docker


Options= '--selinux-enabled-b=kbr0--insecure-registry 192.168.1.55:5000 '

Docker_cert_path=/etc/docker

add_registry= '--add-registry 192.168.1.55 '

insecure_registry= '--insecure-registry 192.168.1.55:5000 '

Note that the symbols are all in English and may become Chinese on the page.

Restarting the client Docker

#systemctl Restart Docker


Upload image

#docker tag Docker.io/swarm 192.168.1.55:5000/swarm

#docker Push 192.168.1.55:5000/swarm


Download image

#docker Pull 192.168.1.55:5000/swarm


By cloud Original thanks to the Crab Brothers support his blog http://183.230.40.37:54322/



This article is from the "Ovs_docker" blog, make sure to keep this source http://3892977.blog.51cto.com/3882977/1727325

Docker Private Source

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.