Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Error entrypoint #38

Open
JamesDAdams opened this issue Oct 17, 2020 · 4 comments
Open

Error entrypoint #38

JamesDAdams opened this issue Oct 17, 2020 · 4 comments

Comments

@JamesDAdams
Copy link

Hi, i have this error woth docker-compose

Creating ontrack-db ... done
Creating ontrack ... error

ERROR: for ontrack Cannot start service app: OCI runtime create failed: container_linux.go:346: starting container process caused "exec: "/ontrack/entrypoint.sh": permission denied": unknown

ERROR: for app Cannot start service app: OCI runtime create failed: container_linux.go:346: starting container process caused "exec: "/ontrack/entrypoint.sh": permission denied": unknown
ERROR: Encountered errors while bringing up the project.

@inoda
Copy link
Owner

inoda commented Oct 17, 2020

@salquier @luketainton Do y'all have any insight on this?

@salquier
Copy link

salquier commented Oct 17, 2020

Try to add execution permission to the file :
chmod +x entrypoint.sh and the rebuild the image

Or change the entrypoint (last line in Dokerfile) to ENTRYPOINT [ "/bin/sh", "/ontrack/entrypoint.sh" ]

@inoda
Copy link
Owner

inoda commented Oct 24, 2020

@JamesAdams92150 did the suggestion work?

@JamesDAdams
Copy link
Author

not work...

@inoda inoda added the docker label Jul 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants