Docker compatibility issue

Hey! Quick question. I am trying to get a docker build to run and am hitting a exec /bin/sh: exec format error error. I have built the base image of the dockerfile myself and pushed it up to Dockerhub to use. I am on an M1 Mac, so I tried buildin git for arm64 with the command docker build --platform=linux/arm64 -f scripts/Dockerfile.base -t magickml/magick:latest . and pushed that base image up, but I am still havign no luck. Is there a recommended platform for me to build my base image for so that it works on railway?
Solution:
railway only supports amd64
Jump to solution
4 Replies
Percy
Percy9mo ago
Project ID: 6fb8606f-116c-4e15-b653-24c48bdad9dd
Parzival
Parzival9mo ago
6fb8606f-116c-4e15-b653-24c48bdad9dd
Solution
Brody
Brody9mo ago
railway only supports amd64
Parzival
Parzival9mo ago
ok cool. Thanks! I just couldn't find any info in the docs. Would be helpful to add the info to the docs on dockerfiles.
Want results from more Discord servers?
Add your server