“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
“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?”