IT/Knowledge
[Error] Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
성준하이
2023. 7. 18. 07:37
반응형
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 관련 프로그램을 시작하면 된다.
그럼 정상적으로 실행이 된다.
반응형