[Solved] Docker Error: bad interpreter: Permission denied

Docker runs the following command:

docker run -it --rm -v $PWD:/build -w /build quay.io/pypa/manylinux2010_x86_64 ./build.sh

report errors:

/usr/local/bin/manylinux-entrypoint: /build/build.sh: /bin/bash: bad interpreter: Permission denied

Reason: insufficient authority.

Solution:

sudo chmod -R 777 build.sh

Read More: