python – standard_init_linux.go:178: exec user process caused exec format error

python – standard_init_linux.go:178: exec user process caused exec format error

I forgot to put

#!/bin/bash

at the top of the sh file, problem solved.

This can happen if youre trying to run an x86 built image on an arm64/aarch64 machine.

Youll need to rebuild the image using the corresponding architecture

python – standard_init_linux.go:178: exec user process caused exec format error

Add this code

   #!/usr/bin/env bash

at the top of your script file.

Leave a Reply

Your email address will not be published.