geoip-exporter icon indicating copy to clipboard operation
geoip-exporter copied to clipboard

docker : x509: failed

Open badsmoke opened this issue 4 years ago • 1 comments

docker gives me an error, so it cannot retrieve the ip addresses

Get https://freegeoip.live/json/172.17.0.1: x509: failed to load system roots and no roots provided
Get https://freegeoip.live/json/192.168.1.75: x509: failed to load system roots and no roots provided
```

badsmoke avatar Mar 11 '20 17:03 badsmoke

Not sure if this project is still active. I submitted PR to fix this issue here https://github.com/gree-gorey/geoip-exporter/pull/5/files.

Add this line in the Dockerfile will solve the issue.

RUN apk --no-cache add ca-certificates

pjamenaja avatar Nov 19 '21 09:11 pjamenaja