Search Suggest

Bài đăng

Pull docker ubuntu 18.04 & 16.04 image

Docker image download ubuntu 18.04 & 16.04 OS
sudo docker pull ubuntu:16.04
or,
sudo docker pull ubuntu:18.04

Run docker container
sudo docker run -itd ubuntu:18.04 /bin/bash


Error during image pull

Error response from daemon: Get https://registry-1.docker.io/v2/library/ubuntu/manifests/18.04: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fubuntu%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 127.0.0.53:53: no such host

Solutions:
I have found docker image url are not getting resolved from my machine so i have updaed my machine DNS with 8.8.8.8 and it worked.

Đăng nhận xét