harbor installation requirements
harbor rapid deployment
下载harbor:https://github.com/goharbor/harbor/releases
Here to harbor-1.8.2 Case Study
[root@gitlab home]# tar -xf harbor-offline-installer-v1.8.2.tgz
Modify the configuration file
Items will change the rest of me looking at change
Download docker-compose
curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/sbin/docker-compose && chmod +x /usr/sbin/docker-compose
Followed by execution
After startup harbor login page, the default username and password admin / Harbor12345
Upload a project to create the next test after the login page
Modify docker start of service
Otherwise, the connection will complain
Use docker connected, upload a mirror test, enter your account name and password.
After a successful login, upload a mirror
There are commands to copy the harbor project
Hit tag, upload, in my native nginx for example
This error occurs because the user is not added to the project, the project is created with the admin user, and I docker is connected test users, add users to upload
In uploads
Successful upload, view on harbor
It has been successfully uploaded.
Document Reference:
https://github.com/goharbor/harbor/blob/master/docs/installation_guide.md
https://docs.docker.com/compose/install/