- 1.docker pull ubuntu:16.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?
- 解決辦法
原因:是沒有sudo,正確應(yīng)該是 sudo docker pull ubuntu:16.04
或者通過(guò) How can I use docker without sudo? 的方法解決問(wèn)題蔓搞。