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

Dockerfile deployment fails with entrypoint.sh exec permission denied #241

Open
jasalt opened this issue Sep 10, 2024 · 0 comments · May be fixed by #242
Open

Dockerfile deployment fails with entrypoint.sh exec permission denied #241

jasalt opened this issue Sep 10, 2024 · 0 comments · May be fixed by #242

Comments

@jasalt
Copy link

jasalt commented Sep 10, 2024

When deploying this repository from Coolify management panel by selecting the included Dockerfile as the "build pack", the startup fails with following permission error:

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/app/entrypoint.sh": permission denied: unknown

Fix seems to simply add executable bit to the file in repository with chmod +x entrypoint.sh. I'll send a pull request which can be merged if this is a correct thing to do. Maybe this can happen in other environments also..

@jasalt jasalt linked a pull request Sep 10, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant