安装 sentry,拉取docker 镜像时出现异常

。。。

Fetching and updating Docker images …

拉取比较慢,之后出现异常

ERROR: for snuba-transactions-consumer Get https://registry-1.docker.io/v2/: x509: certificate is valid for *.us-east-1.es.amazonaws.com, not registry-1.docker.io

ERROR: for snuba-outcomes-consumer Get https://registry-1.docker.io/v2/: x509: certificate is valid for *.us-east-1.es.amazonaws.com, not registry-1.docker.io ```

截图如下:
image.png

解决方案:

  1. 使用国内 Docker镜像加速(解决拉取 docker 镜像慢的问题)
    1. https://www.daocloud.io/mirror
    2. https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors
  2. 关闭 VPN

image.png

参考: