k3s 设置http docker仓库
内容纲要
cat >> /etc/rancher/k3s/registries.yaml <<EOF
mirrors:
"docker.io":
endpoint:
- "https://7bezldxe.mirror.aliyuncs.com"
- "https://registry-1.docker.io"
"10.7.127.190:38080":
endpoint:
- "http://10.7.127.190:38080"
configs:
"10.7.127.190:38080":
auth:
username: 'docker-manger'
password: 'wjrc@2023'
EOF
共有 0 条评论