Repository navigation
docker compose up -d 执行报错 #2566
Unanswered
JoyZhou-05
asked this question in
Q&A
Replies: 1 comment
|
从日志看,这更像是 Docker Hub / registry mirror 的访问问题,而不是 redis:7.0-alpine 镜像不存在。 然后按照当前 WeKnora README 推荐的顺序: 如果连 redis:7.0-alpine 也拉取失败,我会先排查 /etc/docker/daemon.json 中配置的 registry mirror,尤其是旧的或不可用的国内镜像源,而不是修改 compose 文件。 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
你好,我在阿里云的Ubuntu ECS上本地部署WeKnora, 根据https://github.com/Tencent/WeKnora 这个的提示,按照以下方法在阿里云ECS上部署,git clone https://github.com/Tencent/WeKnora.git
cd WeKnora
cp .env.example .env # Edit .env as needed, see comments in the file
docker compose up -d # Start core services
执行最后一步操作的时候,报错了:
root@iZ2ze9wonlwxhpj4q94s1zZ:
/WeKnora# docker --version22.04.2Docker version 29.1.3, build 29.1.3-0ubuntu3
root@iZ2ze9wonlwxhpj4q94s1zZ:
/WeKnora# docker compose version/WeKnora# docker compose up -dDocker Compose version v5.4.0
root@iZ2ze9wonlwxhpj4q94s1zZ:
[+] up 5/5
✘ Image redis:7.0-a... Error 30.2s
! Image wechatopena... failed to resolve reference "docker.io/wechatopenai/weknora-app:latest": docker.io/wechatopenai/weknora-app:latest: not found 30.2s
! Image paradedb/pa... Interrupted 30.2s
! Image wechatopena... Interrupted 30.2s
! Image wechatopena... Interrupted 30.2s
Error response from daemon: failed to resolve reference "docker.io/library/redis:7.0-alpine": docker.io/library/redis:7.0-alpine: not found
root@iZ2ze9wonlwxhpj4q94s1zZ:~/WeKnora#
看起来好像是镜像的问题,请问有什么方法解决吗? 或者除了镜像部署的方式,还有别的安装部署方式吗?期望是在阿里云的ECS上,Ubuntu内核。谢谢!
All reactions