MAC - M2 [Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? ] 발생시

도도·2023년 7월 2일
0

Dokcer

목록 보기
1/1

📌 ERROR

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

colima 설치

Colima는 무거운 Docker Desktop을 대신해 간단한 CLI 환경에서 도커 컨테이너들을 실행 할 수 있는 오픈 소스 소프트웨어 입니다

오픈 소스 컨테이너 런타임인 Colima를 사용해 oci-oracle-xe 이미지를 x86/64 환경으로 띄운다면 M2 맥북에서도 Docker를 실행할 수 있습니다.

colima

brew install colima

설치가 완료 된다면 밑의 명령어를 실행한다

colima start --memory 4 --arch x86_64

Docker가 실행되는 것을 알 수 있습니다.

profile
공부한것 정리하는 중입니다~

0개의 댓글