Streamer-Sales icon indicating copy to clipboard operation
Streamer-Sales copied to clipboard

执行 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

Open anstonjie opened this issue 1 year ago • 2 comments

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.

anstonjie avatar Jul 30 '24 01:07 anstonjie

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

PeterH0323 avatar Jul 30 '24 02:07 PeterH0323

你好,我配置了好多都不行,能给个能够下载的镜像源吗? 这是我配置的 都不行 "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" ]

anstonjie avatar Jul 30 '24 02:07 anstonjie