You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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".
The text was updated successfully, but these errors were encountered:
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".
The text was updated successfully, but these errors were encountered: