PeterH0323 / Streamer-Sales

Streamer-Sales 销冠 —— 卖货主播 LLM 大模型🛒🎁,一个能够根据给定的商品特点从激发用户购买意愿角度出发进行商品解说的卖货主播大模型。🚀⭐内含详细的数据生成流程❗ 📦另外还集成了 LMDeploy 加速推理🚀、RAG检索增强生成 📚、TTS文字转语音🔊、数字人生成 🦸、 Agent 使用网络查询实时信息🌐、ASR 语音转文字🎙️、Vue 生态搭建前端🍍、FastAPI 搭建后端🗝️、Docker-compose 打包部署🐋
https://openxlab.org.cn/apps/detail/HinGwenWong/Streamer-Sales
GNU Affero General Public License v3.0
2.3k stars 329 forks source link

执行 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 1 month ago

anstonjie commented 1 month ago

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 commented 1 month ago

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

anstonjie commented 1 month ago

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