standard_init_linux.go:211: exec user process caused “exec format error”

Copy the.sh script into Docker, ENTRYPOINT when the script is executed, start Docker always reported the title error, the reason came.
Write #! At the top of the sh script. Bin /bash, write this to any script file that executes, remember, remember!


Read More: