geoip-exporter
geoip-exporter copied to clipboard
docker : x509: failed
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
```
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