Docker pull time out on home laptop

Expected behavior

docker pull ubuntu
Should pull the image

Actual behavior

Using default tag: latest
Pulling repository docker.io/library/ubuntu
Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/ubuntu/images. You may want to check your internet connection or if you are behind a proxy.

Information

A1682506-6F44-4C89-8A56-AD4A20BC8F5E

Steps to reproduce the behavior

Please share the screenshot and also tell us more about the OS which you are using. The rest details you will get on apple customer service and XDA developers.