Docker-compose fails


I followed the following instructions to deploy fineract using docker:

Now to run a new Fineract instance you can simply:

  1. git clone ; cd fineract
  2. docker-compose build
  3. docker-compose up -d

But I got following error message:

╰─➤ docker-compose build
fineractmysql uses an image, skipping
Building fineract-server
Step 1/25 : FROM openjdk:8 AS builder
ERROR: Service ‘fineract-server’ failed to build: Get dial tcp: lookup on [::1]:53: read udp [::1]:52602->[::1]:53: read: connection refused

I wonder what’s going on?