登录后复制 $ mkdir -p /etc/crio/registries.d/ $ vi /etc/crio/registries.d/auth.json { "auths": { "192.168.21.20": { "auth": "YWRtaW46SGFyYm9yMTIzNDU=" }, "harbor.bsgchina.com": { "auth": "YWRtaW46SGFyYm9yMTIzNDU=" } } } $ vi /etc/containers/registries.conf [[registry]] location = "harbor.bsgchina.com" insecure = true $ systemctl restart crio $ crictl pull harbor.bsgchina.com/demo/busybox:latest Image is up to date for harbor.bsgchina.com/demo/busybox@sha256:e7816d54ae819cf8a5fd97a62bca7d75388c15eb5d65081bc3eb6f57728aa7bb 1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22. 原创作者: ghostwritten 转载于: https://blog.51cto.com/ghostwritten/11844270