a month ago
I'm trying to run the surfpool/surfpool docker container with the following start command
surfpool start --rpc-url '${{MAINNET_RPC_URL}}' --host 0.0.0.0 --no-tui
but it's saying exec format error, is there a better way to format this for the start command that pulls in the env variable that i've set in my railway ?
0 Replies
a month ago
When deploying an image or Dockerfile, you need to wrap the start command in a shell for variable interpolation.
getting a exec container process `/bin/sh`: Exec format error
command:
/bin/sh -c "/bin/surfpool start --rpc-url $MAINNET_RPC_URL --host 0.0.0.0 --no-tui"
a month ago
Yep, we do not have any arm64 hardware, x86_64 (amd64) only.
if i have a Dockerfile in project, is there a way to get railway to build it as amd64?
a month ago
We will always build with amd64.
can close this issue, i was able to work around it and use a different provider to host the surfpool image and just host my other services on railway
a month ago
!s
Status changed to Solved brody • 27 days ago