오랜만에 도커를 해보려고

docker container ls -a

또는

docker ps -a

를 실행했더니 아래와 같은 메시지가 나왔다.

 

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

 

 

문제>

$ docker container ls -a

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

 

해결>

Docker Desktop 실행을 해야한다.

컴퓨터 재부팅후 Docker Desktop 실행이 되지 않았다.

실행하면 문제없이 잘 된다.

+ Recent posts