老师麻烦问一下 更新完课程后,harbor也成功安装了,
如何使用containerd拉取harbor镜像(本地私有仓库)和制作镜像,
老师要是没有时间给我个相关信息我自己看看也行。
我试了如下配置(没怎么搞明白):
[plugins."io.containerd.grpc.v1.cri".registry] [plugins."io.containerd.grpc.v1.cri".registry.mirrors]
[plugins.“io.containerd.grpc.v1.cri”.registry.mirrors.“docker.io”]
endpoint = [“https://registry-1.docker.io”]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."hub.c.163.com"] endpoint = ["https://hub.c.163.com"]
[plugins.“io.containerd.grpc.v1.cri”.registry.mirrors.“10.1.1.11”]
endpoint = [“http://10.1.1.11”]
[plugins."io.containerd.grpc.v1.cri".registry.configs] [plugins."io.containerd.grpc.v1.cri".registry.configs."hub.c.163.com".auth] username = "xxxx@163.com" password = "xxxxxx"
[plugins.“io.containerd.grpc.v1.cri”.registry.configs]
[plugins.“io.containerd.grpc.v1.cri”.registry.configs.“10.1.1.11”.tls]
insecure_skip_verify = true
[plugins.“io.containerd.grpc.v1.cri”.registry.configs.“10.1.1.11”.auth]
username = “push”
password = “Push1234”