There are several possible reasons for an error like this.
In my case, it was due to the executable file (docker-entrypoint.sh
from the Ghost blog Dockerfile) lacking the executable file mode after I'd downloaded it.
Solution: chmod +x docker-entrypoint.sh