Harbor deployment of enterprise-class Docker private warehouses (HTTP)

Source: Internet
Author: User

Deployment environment
    • Centos7.3 x64
    • docker-ce-17.06.0
    • docker-compose-1.15.0
    • Python-2.7.5 (System default)
Docker and Docker-compose installation
Yum install-y yum-utils device-mapper-persistent-data lvm2 Yum-config-manager     --add-Repo     https://download.docker.com/linux/centos/docker-ce.repo yum-config-manager--enable docker-ce- Edge Yum Makecache fast systemctl start Docker   -L https://github.com/docker/compose/releases/download/1.15.0/docker-compose-' uname-s '-' uname-m ' >/usr/local/ bin/docker-+x/usr/local/bin/docker-compose
Habor Deployment Configuration
wget https://github.com/vmware/harbor/releases/download/v1.1.2/harbor-offline-installer-v1.1.2. Tgztar XF Harbor-offline-installer-v1.1.2. TGZCD Harbor/= hub.wow Other default (HTTP protocol). /install.sh can be accessed via http://hub.wow/after successful installation

Docker clients use

Due to the HTTP protocol used by harbor, the Dockerd service on the Docker client needs to be increased –insecure-registry hub.wow
CENTOS7 modified in the following way:

vim/lib/systemd/system/docker.serviceexecstart=/usr/bin/dockerd--insecure-Registry Hub.wow Systemctl Daemon-reloadsystemctl Reload Docker
[[email protected] harbor]#Docker login-u admin-p Harbor12345 hub.wowofficial warehouse Download BusyBox Mirror [[email Protected]alhost Harbor]#Docker Pull BusyBox[[email protected] harbor]#Docker ImagesREPOSITORY TAG IMAGE ID CREATED sizebusybox latest efe10ee6727f2 weeks ago 1. 13MB local-based busybox:latest create tag Hub.wow/Busybox:latest[[email protected] Harbor]#Docker tag Busybox:latest hub.wow/project_name/busybox:latestPush Local mirror busybox:latest to Hub.wow private warehouse [[email protected] Harbor]#Docker push Hub.wow/project_name/busybox:latest
Harbor Service Management
CD harbor/Docker-compose-f/docker-compose.yml [Up|down|ps|stop|start]

Harbor deployment of enterprise-class Docker private warehouses (HTTP)

Related Article

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.