Hi, trying to spin up a container working from home but I keep getting a permission error, and I can’t figure out why.
This is running on Fedora, and the error message is:
container_linux.go:349: starting container process caused “exec: “/entrypoint.sh”: permission denied”: unknown
ERROR: for db Cannot start service db: OCI runtime create failed: container_linux.go:349: starting container process caused “exec: “/entrypoint.sh”: permission denied”: unknown
ERROR: Encountered errors while bringing up the project.
I am in the docker group, and the file has the rights: -rwxr-sr-x same as the oracle-install.sh which seemed to run fine. The relevant bit of the Dockerfile (I think) is
ADD entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD [""]
I’ve tried adding the line :
RUN chmod +x entrypoint.sh
in various spots to no effect.
Any help? It seems like a simple error and I don’t know how to dig any deeper.