- web Link
http://ip:50002
admin/Docker123
2.4 创建 project
sprism-service 项目
3 上传下载 images
3.1 在登录之前,
vi /etc/docker/daemon.json
添加下面的内容:
{
“insecure-registries”: [“ip:50002”]
}
root@dthost003:/etc/default# systemctl daemon-reload
root@dthost003:/etc/default# systemctl restart docker
3.2 登录
root@dthost003:/opt/software/harbor# docker login ip:50002
Username: admin
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
3.3 tag the images and push and pull the image to the Harbro server
root@dthost003:/etc/default# docker tag schema-registry-ui:1.0 ip:50002/sprism-service/schema-registry-ui:1.0
root@