Skip to content

"exec: \"docker-entrypoint.sh\": executable file not found in $PATH". #296

@stockersky

Description

@stockersky

Hello,

First of all, i do not have this error when using your repository directly.
However, as i have to change things like locales, etc... i copied the 2 files offered from this repository.
While not modifying them at all, i encounter this error while launching a container :

docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"docker-entrypoint.sh\": executable file not found in $PATH".

While testing, this comes from the line n°67 : ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]

I solved it with the help of this other issue on another project :
https://github.com/moby/moby/issues/27182

How can it be, that your code works while directly called by docker from your repo, but not when using the file locally? (I guess, many users will want to modify your files to adapt to their needs - especially locales...)

Thansk!

Guillaume

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