Tag Archives: Docker installs an Mirror

When Docker installs an Mirror: failed to get default registry endpoint from daemon

1.docker pull ubuntu:18.04

Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon. Is the docker daemon running on this host?). Using system default:https://index.docker.io/v1/
Cannot connect to the Docker daemon. Is the docker daemon running on this host?

The reason is no sudo, the correct way to write sudo docker pull + software or resources to be installed.