Skip to content

"docker-entrypoint.sh": executable file not found in $PATH: unknown. #1111

@Udayendu

Description

@Udayendu

Issue:

  • Currently the Dockerfile is not having the executable permission before marking the ENTRYPOINT with docker-entrypoint.sh script. As a result, the docker build is failing with the following error message:

    docker: 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: "docker-entrypoint.sh": executable file not found in $PATH: unknown.
    

How to fix

Having the fix in the Dockerfile will be a better option so that if some one will do the copy paste of the docker file, still its going to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions