Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hdx-oss-dev-miner - /docker-entrypoint.sh: not found w/ solution #73

Open
NCHitsman opened this issue Oct 25, 2023 · 0 comments
Open

hdx-oss-dev-miner - /docker-entrypoint.sh: not found w/ solution #73

NCHitsman opened this issue Oct 25, 2023 · 0 comments

Comments

@NCHitsman
Copy link

While downloading the project, I encountered an issue when executing the command "docker compose -f ./docker-compose.dev.yml up -d". hdx-oss-dev-miner threw the error: "/docker-entrypoint.sh: not found". This problem arose because the docker-entrypoint.sh file had the wrong line ending format, specifically, it was in CRLF format.

I managed to resolve this issue by converting the line ending format of the docker-entrypoint.sh file to LF.

Currently in the repository, the file is in the LF format. However, Git has a feature that automatically switches LF files to CRLF. The problem is also fixed when cloning the repository with the Git configuration setting core.autocrlf set to false. https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreautocrlf

For context, I'm running Docker version 4.24.1 on Windows with WSL2. Note that this issue only occurs when using the dev YAML, not when using "docker compose up -d".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant