Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: "./run.sh": permission denied: unknown. #933

Open
Shumeng-edge opened this issue Jun 1, 2021 · 1 comment

Comments

@Shumeng-edge
Copy link

I want to run image through docker, but I got an error:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: "./run.sh": permission denied: unknown.

How can I solve this problem?

@sanjaydatasciencedojo
Copy link

Hi @Shumeng-edge , please add this line before the last line.

RUN ["chmod", "+x", "run.sh"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants