Do you need help taking your digital life from chaos to order? Sign up early for my Digital Delight course!

Fix Docker Error for GitHub Actions Entrypoint Executable Error

How to fix a Docker error for a Github Actions entrypoint executable error.

2019-05-04

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.

Photo of Chase Adams

Hey, I'm Chase. I help aspiring entrepreneurs and makers turn their ideas into digital products and apps.

Do you need help taking your digital life from chaos to order? Sign up early for my Digital Delight course!

Reader Survey

Choose answer

Subscribe to my Newsletter

Every other week I publish the Curiously Crafted newsletter.

In it, I explore the intersection of curiosity and craft: the people who make stuff, what they make and the way they pursue the craft of making.

The curious logo of Chase Adams: glasses and a bow tie.stay curious.