mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 08:27:25 +00:00
Refresh k8s docker versions and references
This commit is contained in:
@@ -67,13 +67,15 @@ $ docker push username/myapp:v1
|
||||
|
||||
#### 镜像拉取限制
|
||||
|
||||
自 2020 年 11 月起,Docker Hub 对匿名和免费用户实施了拉取速率限制:
|
||||
Docker Hub 对不同类型用户实施拉取速率限制(2025 年 4 月起更新):
|
||||
|
||||
| 用户类型 | 限制 |
|
||||
|---------|------|
|
||||
| **匿名用户** (未登录) | 每 6 小时 100 次请求 |
|
||||
| **免费账户** (已登录) | 每 6 小时 200 次请求 |
|
||||
| **Pro/Team 账户** | 无限制 |
|
||||
| **匿名用户** (未登录) | 每小时 10 次请求 |
|
||||
| **免费账户** (已登录) | 每小时 100 次请求 |
|
||||
| **Pro/Team/Business 账户** | 无限制(公平使用政策) |
|
||||
|
||||
> **注意**:2025 年 4 月前的旧限制为匿名用户每 6 小时 100 次、免费账户每 6 小时 200 次。新政策大幅收紧了匿名拉取额度,建议在 CI/CD 环境中始终配置 `docker login`。
|
||||
|
||||
#### 滥用限流
|
||||
|
||||
|
||||
@@ -104,15 +104,14 @@ REPOSITORY TAG IMAGE ID CREAT
|
||||
```json
|
||||
{
|
||||
"registry-mirrors": [
|
||||
"https://hub-mirror.c.163.com",
|
||||
"https://mirror.baidubce.com"
|
||||
"https://docker.your-mirror.example.com"
|
||||
],
|
||||
"insecure-registries": [
|
||||
"192.168.199.100:5000"
|
||||
]
|
||||
}
|
||||
```
|
||||
> 注意:该文件必须符合 `json` 规范,否则 Docker 将不能启动。
|
||||
> 注意:该文件必须符合 `json` 规范,否则 Docker 将不能启动。镜像加速器地址请替换为实际可用的源,具体配置参见 [3.9 镜像加速器](../03_install/3.9_mirror.md)。
|
||||
|
||||
### 6.2.4 其他
|
||||
|
||||
|
||||
Reference in New Issue
Block a user