Backdocker.io/goharbor/harbor-registryctl
docker.io
docker.io/goharbor/harbor-registryctl:v2.10.3
Size
61.23 MB
Local pulls
2
Upstream pulls
0
Synced at
2026-08-04 01:23:47
China image
registry.cn-global.starbucket.com.cn/starbucket/docker.io/goharbor/harbor-registryctl:v2.10.3
Source image
docker.io/goharbor/harbor-registryctl:v2.10.3
Image info
- Image ID
- sha256:79b37c7dfb9939e0b62b97bdc77c7394931409b861fab4d94fff8607cc41701d
- Image tag
- v2.10.3
- Image size
- 61.23 MB
- Platform
- linux/amd64
- Registry
- docker.io
- Project
- Hub pageAll tagsLocal repo
- CMD
- —
- Entrypoint
- /home/harbor/start.sh
- Working dir
- /
- User
- harbor
- StopSignal
- —
- Created
- 2024-07-02T07:40:21.084305099Z
Exposed ports 0
None
Volumes
- /var/lib/registry
Environment 1
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
Labels 4
| name | Photon OS x86_64/5.0 Base Image |
| vendor | VMware |
| build-date | 20240701 |
| base-build-date | 20240702 |
Pull commands
Docker
docker pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/goharbor/harbor-registryctl:v2.10.3
docker tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/goharbor/harbor-registryctl:v2.10.3 docker.io/goharbor/harbor-registryctl:v2.10.3
Containerd
ctr images pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/goharbor/harbor-registryctl:v2.10.3
ctr images tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/goharbor/harbor-registryctl:v2.10.3 docker.io/goharbor/harbor-registryctl:v2.10.3
YAML quick replace
sed -i 's#docker.io/goharbor/harbor-registryctl:v2.10.3#registry.cn-global.starbucket.com.cn/starbucket/docker.io/goharbor/harbor-registryctl:v2.10.3#' deployment.yaml
Global registry mirror
Docker
Write Docker daemon.json so registry-mirrors points to this site, then restart Docker
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<'EOF'
{
"registry-mirrors": ["https://registry.cn-global.starbucket.com.cn"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart dockerContainerd
Write containerd certs.d hosts.toml so docker.io pulls via this site, then restart containerd
sudo mkdir -p /etc/containerd/certs.d/docker.io sudo tee /etc/containerd/certs.d/docker.io/hosts.toml <<'EOF' server = "https://docker.io" [host."https://registry.cn-global.starbucket.com.cn"] capabilities = ["pull", "resolve"] EOF sudo mkdir -p /etc/containerd if [ ! -f /etc/containerd/config.toml ]; then sudo containerd config default | sudo tee /etc/containerd/config.toml >/dev/null fi sudo sed -i 's#config_path = ""#config_path = "/etc/containerd/certs.d"#' /etc/containerd/config.toml sudo systemctl restart containerd
Build history 14
2024-07-02 07:40:21empty layer
#(nop) USER harbor
2024-07-02 07:40:20empty layer
#(nop) ENTRYPOINT ["/home/harbor/start.sh"]
2024-07-02 07:40:19empty layer
#(nop) VOLUME [/var/lib/registry]
2024-07-02 07:40:18empty layer
#(nop) HEALTHCHECK &{["CMD-SHELL" "curl --fail -s http://localhost:8080/api/health || curl -sk --fail --key /etc/harbor/ssl/registryctl.key --cert /etc/harbor/ssl/registryctl.crt https://localhost:8443/api/health || exit 1"] "0s" "0s" "0s" '\x00'}2024-07-02 07:40:17
chown -R harbor:harbor /etc/pki/tls/certs && chown harbor:harbor /home/harbor/harbor_registryctl && chmod u+x /home/harbor/harbor_registryctl && chown harbor:harbor /usr/bin/registry_DO_NOT_USE_GC && chmod u+x /usr/bin/registry_DO_NOT_USE_GC && chown harbor:harbor /home/harbor/start.sh && chmod u+x /home/harbor/start.sh && chown harbor:harbor /home/harbor/install_cert.sh && chmod u+x /home/harbor/install_cert.sh
2024-07-02 07:40:17
#(nop) COPY file:0ab6a22240a61c7f5be4d255841da965f5f8b9633ed96426784046c0a628280d in /home/harbor
2024-07-02 07:40:16
#(nop) COPY file:966c09e958dae2d10e07b4c5c0a4c18b0fbe883a12b4c84387431d37e7778583 in /home/harbor
2024-07-02 07:40:15
#(nop) COPY file:edbdfb8d1e14ab1503344a635f6823349d5f065818cc9d6a6eeea39ac9755c9e in /usr/bin/registry_DO_NOT_USE_GC