In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
I. mainframe environment
192.168.19.7 docker client
192.168.19.4 harbor server
2. Log in to harbor with docker
The password is the login password of harbor-web
If there is an error as follows:
1. Need to modify docker.service
Vim / usr/lib/systemd/system/docker.service
EnvironmentFile=-/etc/sysconfig/docker
ExecStart=/usr/bin/dockerd $OPTIONS
2. Modify / etc/docker/daemon.json
{"insecure-registries": ["http://192.168.19.4"]}"
Then restart docker.
Systemctl daemon-reloadsystemctl restart docker.service
2. If there is an error as follows:
[root@test3 ~] # docker push 192.168.0.7/gitlab/gitlab_back:v1The push refers to a repository [192.168.0.7/gitlab/gitlab_back] Get https://192.168.0.7/v1/_ping: read tcp 192.168.0.6 VR 40306-> 192.168.0.7 VR 443: read: connection reset by peer
Solution:
Edit the vim / etc/sysconfig/docker file. If not, create it.
Log in to harbor to create a project
Just fill in the project name.
The push method will be prompted in harbor. Just follow the prompts.
Then you can see the image file information on the Harbor, and you will be prompted if you pull the image.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.