doctr
doctr copied to clipboard
Cannot run doctr with Docker
🐛 Bug
I cannot build the doctr Docker image. I get an error (see attached video) when the requirements are being installed.
To Reproduce
Steps to reproduce the behaviour:
- Build the Docker image
- Profit!
Expected behavior
Being able to use doctr with the Dockerfile provided
Environment
OS: Mac OSX 11.5.2 on a M1 chip (it shouldn't change anything since the pip install runs inside the container) Docker: 20.10.8, build 3967b7
https://user-images.githubusercontent.com/1170989/133692402-e949aa2f-6338-4d30-a2df-85accb62ccdb.mp4
d
Hi @fharper,
Thanks for reporting this! To make sure I get the root problem correctly here, can you confirm that you are able to install DocTR outside of Docker with the same setup?
While it's true your setup is generally not the limiting factor for OS compatibility via Docker, there are cases, I have personally experienced, where it's not possible (trying to build an image for an ARM chip while yours isn't). So my guess is that the base installation outside of Docker isn't working because you would need the ARM wheels for all dependencies.
If that's the case, I'll investigate this in #430 shortly!
You are right, I cannot even install the requirements on my M1 MacBook. I created another issue (#480) for it as #430 is focussing on arm for low powered devices, while the M1 processor is arm64: AFAIK, it will be two different built, and does not need the same requirements/versions.
Let's first address #480, I'm rather confident that if it gets fixed, then resolving this issue will be casual :)
Hi @fharper can we close this ? :)
Closing this as #480 is the root cause :+1: