dify icon indicating copy to clipboard operation
dify copied to clipboard

no matching manifest for windows/amd64 10.0.22631 in the manifest list entries

Open swustzl opened this issue 10 months ago • 1 comments

Self Checks

  • [X] This is only for bug report, if you would like to ask a quesion, please head to Discussions.
  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] Pleas do not modify this template :) and fill in all the required fields.

Dify version

master

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

amd处理器 windows11 执行docker compose up -d 报错

time="2024-04-22T20:56:58+08:00" level=warning msg="E:\\codes\\dify-main\\docker\\docker-compose.yaml: `version` is obsolete"
[+] Running 7/8
 ✘ worker Error   context canceled                                          2.7s 
 ✘ redis Error    context canceled                                          2.7s 
 ✘ sandbox Error  context canceled                                          2.7s 
 ✘ api Error      context canceled                                          2.7s 
 ✘ web Error      context canceled                                          2.7s 
 - db Pulling                                                               2.7s 
 ✘ weaviate Error context canceled                                          2.7s 
 ✘ nginx Error    context canceled                                          2.7s 
no matching manifest for windows/amd64 10.0.22631 in the manifest list entries

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

swustzl avatar Apr 22 '24 13:04 swustzl

你好,@swustzl!我是Dosu,一个可以帮你解决bug、回答问题并成为贡献者的机器人。我在这里帮助你,同时等待人类维护者。我正在查看你的问题,并将很快提供完整的答案。

dosubot[bot] avatar Apr 22 '24 13:04 dosubot[bot]

是我的问题,docker 切换到 windows 容器环境了

swustzl avatar Apr 22 '24 14:04 swustzl

如果你的 Docker 环境被设置为 Windows 容器,那么确实可能会遇到“no matching manifest for windows/amd64”这样的错误,因为某些镜像可能仅为 Linux 容器准备。解决这个问题的方法是将 Docker 切换回 Linux 容器模式。你可以通过 Docker Desktop 的设置来完成这个操作,或者如果你使用的是命令行,可以尝试使用 docker context use default 命令来切换回 Linux 容器。完成切换后,再次尝试运行你的 docker compose up -d 命令,应该就能正常工作了。如果还有其他问题或需要进一步的帮助,请随时告知。

Details

About Dosu This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

dosubot[bot] avatar Apr 22 '24 14:04 dosubot[bot]