Skip to content

Error "x509: failed to load system roots and no roots provided" when waiting on a https #138

@frnhr

Description

@frnhr

Running directly from the docker image, I'm getting an unexpected error:

$ docker run --rm jwilder/dockerize dockerize -wait https://www.google.com
2019/08/15 14:59:07 Waiting for: https://www.google.com
2019/08/15 14:59:07 Problem with request: Get https://www.google.com: x509: failed to load system roots and no roots provided. Sleeping 1s
2019/08/15 14:59:08 Problem with request: Get https://www.google.com: x509: failed to load system roots and no roots provided. Sleeping 1s
...

Am I using it wrong?

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