scriptsbad.blogg.se

Install docker centos 7
Install docker centos 7













install docker centos 7

If you want docker to automatically start with the system, you also need to enable rvice sudo systemctl enable dockerĬopy the code 2.4. get-docker.sh -mirror Aliyun # Domestic use of Ali Cloud image acceleration Copy the codeĪfter the installation is complete, you can use the following command to check whether the Docker installation is successful: sudo docker info This article uses the installation script to install the Docker runtime.

install docker centos 7

When done, update the YUM database with yum Makecache.

install docker centos 7

Configure the USTC imageĪfter logging in to the CentOS system, run the following command to change the yum installation source to uSTC image: sudo sed -e 's|^mirrorlist=|#mirrorlist=|g' \ The vm used in this document is configured as 4C, 8 gb, or 100GB. Check whether the cloud host meets the minimum configuration requirements. This document uses the All-in-one installation mode. Cloud host users may note that the Harbor platform not only contains the Harbor system itself, but also includes Redis/PostgreSQL and other supporting services. System minimum/recommended configurationĪccording to the official document, the minimum/recommended Harbor installation and configuration is as follows, which can be adjusted for local or VIRTUAL machine users. However, it assumes that the new CentOS 7 system is used, and the following dependencies and installation and configuration procedures are required. This document does not describe the installation and deployment of the CentOS 7 system in detail. It aims to record how to build Harbor platform based on CentOS 7 system installation. This article is based on the latest Harbor version of Writing Day (). Replication synchronization can be used to synchronize production mirrors in the future.Supports group-based permission management.After investigation, the solutions available are as follows:Īfter comparative analysis, Harbor was finally selected as the production practice. The internal project of the company plans to carry out container transformation next year, and it is necessary to build internal mirror warehouse first.















Install docker centos 7