exec user process caused "exec format error"

Started getting this error, reverted to old version that was working but still displays the error even when the new build uploads. Reflashed the sd card in the rpi with no resolution.

main  standard_init_linux.go:211: exec user process caused "exec format error"
main  standard_init_linux.go:211: exec user process caused "exec format error"
Service exited 'main sha256:15b3667c4bf513bc3e910d1fbf072b09a995e3a1cb092ba2d637428831a49060'

Dockerfile:

FROM node:8
WORKDIR /app
COPY package*.json  ./
RUN npm install
COPY . .
EXPOSE 3333
CMD ["node", "app.js"]

I have seen similar issues on here but nothing about it suddenly happening. Most day the dockerfile is the issue but the dockerfile was not changed when the issue started.

Hi, I see you’re using the official node:8 base image from docker hub. When you’re pushing that to our cloud builder it won’t understand which device-type to target with the image and defaults to amd64.

In order for it to properly understand what device to build for you can do one of two things:

We’re actively working on supporting the docker base-images properly, so your above Dockerfile should work as-is at some point in the future :slight_smile: