Docker Image - exec user process caused "exec format error"

The Problem I built a Linux dev box docker image with some necessary run time environments such as go and python, but it didn't run and raised the error message exec user process caused "exec format error". The Cause I spent more than an hour finding the solution as nothing looked wrong for me. I have tried different docker image build options but no luck. After multiple attempts, I discovered the error message disappeared after I passed commands directly rather than using the run.sh in the Doc…