entrykit icon indicating copy to clipboard operation
entrykit copied to clipboard

`prehook` cannot find executable

Open joemcmahon opened this issue 3 years ago • 0 comments

[Originally posted by @Brescia717] Any chance you've tried using prehook? Running this in the Dockerfile:

ENTRYPOINT [ \
  "prehook", "ruby -v", "--", \
  "prehook", "/myapp/backend/prehook", "--"]

yields this error:

Error response from daemon: failed to create shim task: 
OCI runtime create failed: runc create failed: 
unable to start container process: 
exec: "prehook": executable file not found in $PATH: unknown

NOTE: /myapp/backend is the directory the application is in, in the docker container.

joemcmahon avatar Sep 12 '22 22:09 joemcmahon