Error response from daemon: Get "https://registry-1.docker.io/v2/" on Rasberry Pi

Hello, I am a total beginner and I would like to work with docker on my Rasberry Pi. I would like to pull something but I always get this error.

nick@raspberrypi:~ $ docker pull proxyrack/pop
Using default tag: latest
Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:37470->[::1]:53: read: connection refused

Can somebody help me out here. I have tried several things I found here on the forum, but nothing works. Any help is greatly appreciated.