Catching a GitHub Actions Entrypoint Executable Error

Published
Share: Twitter

#Error

Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/entrypoint.sh\": permission denied": unknown

#Solution

If you're using GitHub Actions, you'll get this when you've forgotten to set the entrypoint.sh as an executable. You can fix this error by running chmod +x /path/to/entrypoint.sh and committing it.

#When Do I See It Most?

When I'm creating a GitHub Action and I forget to set the entrypoint.sh as an executable, I'll see this error when the Actions container runs.

Enjoy this article? Share it on Twitter!
View the source on GitHub
Tagged with GitHub Actions, Docker
chaseonsoftware.com is powered by GatsbyJS, GitHub & Netlify.
Deployed commit of chaseonsoftware.com is 4dbe92
👋 Say Hi!