Harbor私有仓库部署(最新)
[root@K8s-Master ~]
[root@K8s-Master ~]
[root@K8s-Master ~]
[root@K8s-Master ~]
[root@K8s-Master ~]
[root@K8s-Master ~]
[root@K8s-Master ~]
[root@K8s-Master harbor]
harbor.v1.8.0.tar.gz harbor.yml install.sh LICENSE prepare
[root@K8s-Master ~]
[root@K8s-Master ~]
[root@K8s-Master ~]
[root@K8s-Master harbor]
[root@K8s-Master harbor]
[root@k8s-node2 ~]
[root@k8s-node2 ~]
nginx latest 605c77e624dd 4 months ago 141MB
192.168.66.11/project/nginx test 605c77e624dd 4 months ago 141MB
[root@k8s-node2 ~]
{
"registry-mirrors": ["https://7w5yqlyj.mirror.aliyuncs.com"],
"insecure-registries": ["http://192.168.66.11"],
"graph": "/data/dockerdata/docker"
}
[root@k8s-node2 ~]
[root@k8s-node2 ~]
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/
Login Succeeded
[root@k8s-node2 ~]
The push refers to repository [192.168.66.11/project/nginx]
d874fd2bc83b: Preparing
32ce5f6a5106: Preparing
f1db227348d0: Preparing
b8d6e692a25e: Preparing
e379e8aedd4d: Preparing
2edcec3590a4: Waiting
denied: requested access to the resource is denied
[root@k8s-node2 ~]
The push refers to repository [192.168.66.11/project/nginx]
d874fd2bc83b: Pushed
32ce5f6a5106: Pushed
f1db227348d0: Pushed
b8d6e692a25e: Pushed
e379e8aedd4d: Pushed
2edcec3590a4: Pushed
test: digest: sha256:ee89b00528ff4f02f2405e4ee221743ebc3f8e8dd0bfd5c4c20a2fa2aaa7ede3 size: 1570