Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行 docker build -t streamer-sales:v0.8.0 -f docker/Dockerfile . 报错 ERROR [internal] load metadata for docker.io/pytorch/pytorch:2.1.2-cuda12.1-cudnn8-devel #18

Open
anstonjie opened this issue Jul 30, 2024 · 2 comments

Comments

@anstonjie
Copy link

D:\ai\Streamer-Sales>docker build -t streamer-sales:v0.8.0 -f docker/Dockerfile .
[+] Building 69.1s (2/2) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 938B 0.0s
=> ERROR [internal] load metadata for docker.io/pytorch/pytorch:2.1.2-cuda12.1-cudnn8-devel 69.0s

[internal] load metadata for docker.io/pytorch/pytorch:2.1.2-cuda12.1-cudnn8-devel:


Dockerfile:1

1 | >>> FROM pytorch/pytorch:2.1.2-cuda12.1-cudnn8-devel
2 |
3 | LABEL MAINTAINER="HinGwen.Wong"

ERROR: failed to solve: pytorch/pytorch:2.1.2-cuda12.1-cudnn8-devel: failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://dockerproxy.com/v2/pytorch/pytorch/blobs/sha256:ecb3f786af6cb6c838d3290933dfe10f022488defd8c1f606769cb151f83140d?ns=docker.io": dialing dockerproxy.com:443 with direct connection: connecting to 202.160.130.118:443: dial tcp 202.160.130.118:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

@PeterH0323
Copy link
Owner

拉取 docker 基础镜像的网络问题,可以搜索网上资料配置下国内源

@anstonjie
Copy link
Author

你好,我配置了好多都不行,能给个能够下载的镜像源吗?
这是我配置的 都不行 "registry-mirrors": [
"https://registry.docker-cn.com/",
"https://docker.mirrors.ustc.edu.cn",
"https://ubierecm.mirror.aliyuncs.com",
"https://dockerproxy.com",
"https://hub-mirror.c.163.com",
"https://mirror.baidubce.com",
"https://ccr.ccs.tencentyun.com"
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants