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

min·2021년 11월 15일
0

서버가 죽어서 다시 재부팅 했는데 DB나 ES에 접근이 되지 않았다.
그래서 Docker 상태 체크해보려고 docker ps를 쳐봤는데 해당 메세지가 떨어졌다.

참고
https://velog.io/@pop8682/Docker-Cannot-connect-to-the-Docker-daemon-at-unixvarrundocker.sock.-Is-the-docker-daemon-running-%EC%97%90%EB%9F%AC-%ED%95%B4%EA%B2%B0

너무 설명을 잘해주셔서 원인은 이렇고

systemctl start docker
systemctl enable docker

명령어 치면 된다.

profile
발등에 불이 따뜻하다..

0개의 댓글