Docker Hub build failing

My image is failing to build on Docker Hub. It builds just fine locally. I’m not understanding the error message:

Step 3/20 : RUN mkdir -p /tmp
—> Running in 5671b8319a05
[91mstandard_init_linux.go:211: exec user process caused “exec format error”
0m
Removing intermediate container 5671b8319a05
The command ‘/bin/sh -c mkdir -p /tmp’ returned a non-zero code: 1

I’m reading this could be an architecture mismatch problem. Is that the problem? What host system does Docker Hub use for building images?

1 Like