求大佬解惑 #2468
Unanswered
lhj18054979020
asked this question in
Q&A
求大佬解惑
#2468
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我在配置单镜像仓库的时候
explicitly use v2 config format, if already v2, skip the "version = 2"
version = 2
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"]
endpoint = ["http://127.0.0.1:65001","https://index.docker.io"]
[plugins."io.containerd.grpc.v1.cri".registry.configs."127.0.0.1:65001".auth]
username = "registry_username"
password = "registry_password"
我不太明白这个username和password应该写哪个用户及密码,文档中说“注册中心的 auth 必须基于 127.0.0.1:65001”,但是我并不记得127.0.0.1:65001有username和password
Beta Was this translation helpful? Give feedback.
All reactions