docker 镜像失败,添加临时方案

在使用 docker:experimental 时,出现报错信息为:

1
2
3
failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: unexpected status code [manifests 1.0.0-experimental]: 403 Forbidden

error pulling image configuration: download failed after attempts=6: dial tcp 75.126.150.210:443: i/o timeout

需要添加临时镜像: https://docker.1panel.live

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  "registry-mirrors" : [
    "http://ovfftd6p.mirror.aliyuncs.com",
    "http://registry.docker-cn.com",
    "http://docker.mirrors.ustc.edu.cn",
    "https://docker.1panel.live",
    "http://hub-mirror.c.163.com"
  ],
  "insecure-registries" : [
    "registry.docker-cn.com",
    "docker.mirrors.ustc.edu.cn",
    "192.168.1.183:5000",
    "192.168.1.162:5000"
  ],
  "debug" : true,
  "experimental" : true,
  "log-driver": "json-file",
  "log-opts": {
    "max-size": "1m",
    "max-file": "10"
  }
}
william 支付宝支付宝
william 微信微信
0%