[Bug]: ragflow The requested image's platform (linux/amd64)
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Branch name
main
Commit ID
no
Other environment information
Hardware parameters:Mac M1
OS type:13.5
Actual behavior
ragflow The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Expected behavior
normally run
Steps to reproduce
docker compose -f docker-compose-CN.yml up -d
Additional information
No response
Your machine is arm64 based which is not supported by our current docker images. We're working on it.
@KevinHuSh
When do you expect the arm64 update to be released?
+1. I wish the documentation would note that it wouldn't work on Mac M1 at this moment. I spent an entire day setting it up on my mac M1 and finally got the stack running up. tried to parse a plain text file several times and always stuck at around 3%. when searching around why it did not parse, and found it here. I think I know why it wouldn't work now.
Having trouble running ragflow on M3 Silicon Mac or even building the docker:
docker build --no-cache -t infiniflow/ragflow:dev -f Dockerfile.arm .
Output:
Dockerfile.arm:7
--------------------
6 | COPY requirements_arm.txt /ragflow/requirements.txt
7 | >>> RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ --default-timeout=1000 -r requirements.txt &&\
8 | >>> python -c "import nltk;nltk.download('punkt');nltk.download('wordnet')"
9 |
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -i https://mirrors.aliyun.com/pypi/simple/ --default-timeout=1000 -r requirements.txt &&python -c \"import nltk;nltk.download('punkt');nltk.download('wordnet')\"" did not complete successfully: exit code: 1
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/fvay1k2wtt4fzbb2yijrj0r2t
@FellowTraveler Same for me.
https://github.com/infiniflow/ragflow/blob/main/docs/guides/develop/build_docker_image.md