Closed bridge-jithesh closed 2 years ago
This sounds like your modules are compiled for amd64, but for the M1 they need to be arm64v8 (or you need to run with amd64 emulation enabled instead, which will be slower).
Closing since this seems resolved, if you need further help you could also try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow
Below is my
Dockerfile
:as you can see I am copying all my modules into the container during the build. But I am getting the below error when trying to start the container.
Now the reason I put Apple M1 on the title is that the same
Dockerfile
is working fine on all other platforms. I've tested it with Ubuntu 20 LTS, WSL2 on Windows. Works absolutely fine. I have the error only on my Apple M1.How I should debug this?