docker image worked just fine about a few hours ago, now its crashing.
candicevans247
HOBBYOP

2 months ago

these are the logs im seeing

exec container process /usr/local/bin/node: Exec format error

exec container process /usr/local/bin/node: Exec format error

Starting Container

exec container process /usr/local/bin/node: Exec format error

exec container process /usr/local/bin/node: Exec format error

Solved$10 Bounty

Pinned Solution

These are the steps from the github repo to build the Docker image for the server as well: https://github.com/maskin25/captions.js/blob/main/DEVELOPMENT.md#build-the-docker-image

Hope this helps.

7 Replies

Status changed to Awaiting Railway Response Railway 2 months ago


What Docker image are you using? Because Exec format error happens when there is an architecture mismatch.


candicevans247
HOBBYOP

2 months ago

i'm using this "https://hub.docker.com/r/maskin25/captions.js-render".

i checked it out and discovered this image requires an "linux/arm64/v8" architecture and i'm guessing railway uses amd64.

now i'm wondering if theres a walkaround this

thanks for your reply


In this case I recommend you rebuild the Image for amd64. Grab the source code, open your terminal in that directory and run: docker build --platform=linux/amd64 -t your-dockerhub-username/captions-render .


These are the steps from the github repo to build the Docker image for the server as well: https://github.com/maskin25/captions.js/blob/main/DEVELOPMENT.md#build-the-docker-image

Hope this helps.


candicevans247
HOBBYOP

2 months ago

thanks so much, let me try this out


candicevans247
HOBBYOP

2 months ago

this worked. thanks a lot


candicevans247

this worked. thanks a lot

You're welcome, glad it worked


Status changed to Solved brody 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...