"https://nvcr.io/v2/": dial tcp: lookup nvcr.io on 10.10.0.2:53: dial udp 10.10.0.2:53: connect: network is unreachable

I am trying to create a docker image using :
Merlin/dockerfile.torch at main · NVIDIA-Merlin/Merlin · GitHub inside Amazon Sagemaker.

I was able to access it until yesterday but today I am getting the error message as the network is unreachable.

This is when I tried using terminal:
Error response from daemon: Get “https://nvcr.io/v2/”: dial tcp: lookup nvcr.io on 10.10.0.2:53: dial udp 10.10.0.2:53: connect: network is unreachable