harry0703 / AudioNotes

快速提取音视频内容,整理成一份结构化的markdown笔记
MIT License
1.12k stars 131 forks source link

docker compose运行,有以下问题:The requested image's platform (linux/arm64) does not match the detected host platform #3

Closed kaikanertan closed 4 months ago

kaikanertan commented 4 months ago

docker compose运行,有以下问题:

webui The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested

Upcreat commented 4 months ago

我也遇到了

harry0703 commented 4 months ago

没有打对应架构(linux/amd64)的镜像,Linux系统里面会报错 你可以使用项目里面的Dockfile,自己编译一个镜像 把代码clone下来,然后执行

docker build -t audio-notes .
GeoZhanglw commented 4 months ago

镜像编译仍然是arm64平台

harry0703 commented 4 months ago

镜像编译仍然是arm64平台

已经重新编译了多平台的镜像了,你重新执行下面的命令即可

#一定要重新下载 docker-compose.yml 文件
curl -fsSL https://github.com/harry0703/AudioNotes/raw/main/docker-compose.yml -o docker-compose.yml
docker-compose up