jwilder / dockerize

Utility to simplify running applications in docker containers
MIT License
5.01k stars 414 forks source link

Invalid value "20s\r" for flag -timeout #174

Open ValentinGenev opened 2 years ago

ValentinGenev commented 2 years ago

Good day,

When I run my Docker image on a Windows 10 machine, I'm getting the following error:

invalid value "20s\r" for flag -timeout: time: unknown unit s

Here's how I use dockerize:

dockerize -wait tcp://database:3306 -timeout 20s

This line is in a shell run by the Docker file like so:

RUN chmod +x start.sh
ENTRYPOINT ./start.sh