I'm having this error when starting a docker service, the full error message says:
FATA[0000] version check: failed to get version from server: failed making version api call: Get "http://localhost:8080/v1/version": dial tcp: lookup localhost on 8.8.8.8:53: no such host
I've done already what's suggested here but nothing seems to work, and I dont clearly understand what's going on here :(