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

Error when running docker-compose up --build in Windows #31

Open
jflaga opened this issue Jan 16, 2024 · 0 comments
Open

Error when running docker-compose up --build in Windows #31

jflaga opened this issue Jan 16, 2024 · 0 comments

Comments

@jflaga
Copy link

jflaga commented Jan 16, 2024

I'm getting this error when I run docker-compose up --build in Windows:

: not found--:--:-- src/wait-port: line 3: 
---------- --:--:-- src/wait-port: set: line 4: illegal option -

I found out that it's because of EOL characters in Windows.

Solved it by using these commands:

$ cd src
$ find . -name "wait-port" -exec dos2unix {} \;

ref: https://stackoverflow.com/a/76738032/1451757

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