Docker-compose fails

Hi,

I followed the following instructions to deploy fineract using docker:

Now to run a new Fineract instance you can simply:

  1. git clone https://github.com/apache/fineract.git ; 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 https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:52602->[::1]:53: read: connection refused

I wonder what’s going on?