Skip to content

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

@ValentinGenev

Description

@ValentinGenev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions