“Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?”

"Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"解决办法

输入systemctl start docker
在这里插入图片描述
此时再次输入则报错解决
在这里插入图片描述