-
-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
I was trying to run this on one of my linux/arm64 machine (a Raspberry PI 4B), but was unable to, I'd always receive this error:
linux/arm64 machine:
# docker run --rm -it -p 3000:3000 dannyben/madness
exec /usr/bin/madness: exec format error
I tried running it with the platform set explicitly:
linux/arm64 machine:
# docker run --platform linux/arm64 --rm -it -p 3000:3000 dannyben/madness
exec /usr/bin/madness: exec format error
The image runs fine on my linux/amd64 machine, strangely, when I run using platform linux/arm64 it works on my linux/amd64 machine too!
linux/amd64 machine:
# docker run --rm -it --platform linux/amd64 -p 3000:3000 dannyben/madness server
▌ starting server
▌ env : production
▌ listen : 0.0.0.0:3000
▌ path : /docs
I think the linux/arm64 machine is not correctly being built / or the linux/amd64 image is being pushed as the linux/arm64 image as well
Metadata
Metadata
Assignees
Labels
No labels