1、Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
答:
docker這種報錯一般情況都是docker未啟動對於這種情況只用重啟docker就行了:
service docker restart
還有一種情況則是docker配置文件出錯按照提示查看報錯,並找到相應位置進行更改:
systemctl status docker.service 或 journalctl -xn
情報來源:https://blog.csdn.net/qq_39562468/article/details/80332082