d31ec82751e83c4bd1882db971b772fed08e94b4
docker.cattysteve.top使用说明
注意:当前镜像源处于试运行状态,可能随时有变化。有疑问请联系pig2014。
使用须知
拉取时服务器会先向上游请求数据,因此开始拉取后暂时无响应是正常状态。
上游(https://daocloud.io)存在速率限制,且服务器流量收费,因此使用时请遵循以下限制:
- 拉取不快于每分钟1次
- 单次拉取不超过1GB
若超出限制,可能会:
- 被WAF防火墙阻断
- 拉取无速度
- 服务器被上游拉黑
若发生违例,请联系pig2014手动处理。
docker/podman
登录:
docker login docker.cattysteve.top
# (按提示输入用户和密码)
手动:
docker pull docker.cattysteve.top/docker.io/example/example:latest
自动:
在/etc/docker/daemon.json添加:
{
"registry-mirrors": ["https://docker.cattysteve.top/docker.io"]
}
k8s/containerd
在/etc/containerd/containerd.toml找到相应位置并修改:
[plugins."io.containerd.grpc.v1.cri".registry]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."registry.k8s.io"]
endpoint = ["https://docker.cattysteve.top/registry.k8s.io"]
[plugins."io.containerd.grpc.v1.cri".registry.configs]
[plugins."io.containerd.grpc.v1.cri".registry.configs."https://docker.cattysteve.top/registry.k8s.io".auth]
username="你的用户名"
password="你的密码"
k3s
在/etc/rancher/k3s/registries.yaml添加:
mirrors:
docker.io:
endpoint:
- "https://docker.cattysteve.top/docker.io"
configs:
"https://docker.cattysteve.top/docker.io":
auth:
username: "你的用户名"
password: "你的密码"
Description