1. 进入/etc/containerd/certs.d

2. 使用镜像仓库地址创建一个文件夹,例如:10.10.101.117:8443

3. 在文件夹内创建文件hosts.toml

server = "https://10.10.101.117:8443"
[host."https://10.10.101.117:8443"]
  capabilities = ["pull","resolve","push"]
  skip_verify = true

4. 使用命令登录harbor

crictl login xxx

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐