본문 바로가기
IT/Knowledge

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

by 성준하이 2023. 7. 18.
반응형

docker 명령어 실행시 아래와 같은 명령어가 떴다.

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

 

이유는 docker service 실행이 안되었을 경우이다.

 

cli 기반이라면

 

sudo systemctl status docker

를 하여 상태 확인 후 아래 명령어로 실행을 해준다.

 

$ sudo systemctl start docker

$ sudo systemctl enable docker

 

그리고  gui 기반이라면 

docker 관련 프로그램을 시작하면 된다.

 

그럼 정상적으로 실행이 된다.

반응형

'IT > Knowledge' 카테고리의 다른 글

썬더볼트와 USB, 그리고 USB 4.0  (45) 2023.08.01
Groovy 란?  (58) 2023.07.27
Colab 이란?  (51) 2023.07.16
ping / telnet / traceroute / curl 차이점  (48) 2023.07.04
Manifest 파일  (50) 2023.07.02

댓글