Fix Docker Error: GitHub Actions Entrypoint Executable Error
Essays and updates on product, engineering, and AI by Chase Adams.
1 minute read
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 (replacing </path/to> with the directory path from the process root) and committing it.
When Have I see this?
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.
Build Your Website with AI—No Code Required
Learn to create and deploy professional websites using ChatGPT and Claude. Go from complete beginner to confident website builder.
