dockerize
dockerize copied to clipboard
Error "x509: failed to load system roots and no roots provided" when waiting on a https
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?
Same here. The docs are missing how to provide the needed root certificates or how to skip cert validation.
is there any to way to skip cert validation