Zero To One
Exiting due to GUEST_STATUS: state: unknown state "minikube": docker container inspect minikube --format=: exit status 1 에러 본문
컨테이너 오케스트레이션
Exiting due to GUEST_STATUS: state: unknown state "minikube": docker container inspect minikube --format=: exit status 1 에러
Zero_To_One 2022. 4. 22. 12:30에러발생
> minikube tunnel
❌ Exiting due to GUEST_STATUS: state: unknown state "minikube": docker container inspect minikube --format=: exit status 1
stdout:
stderr:
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/minikube/json": dial unix /var/run/docker.sock: connect: permission denied
╭───────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ 😿 If the above advice does not help, please let us know: │
│ 👉 https://github.com/kubernetes/minikube/issues/new/choose │
│ │
│ Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue. │
│ Please also attach the following file to the GitHub issue: │
│ - /tmp/minikube_tunnel_927a67a050ee0857d65b33f2d505830326eb6428_0.log │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
해결법
> sudo chmod 666 /var/run/docker.sock
[sudo] jaehyeok 암호:
> sudo usermod -aG docker ${USER}
> sudo chmod 666 /var/run/docker.sock
> newgrp docker
> sudo chmod 666 /var/run/docker.sock
> newgrp docker
출처 : https://www.codegrepper.com/search.php?q=Got%20permission%20denied%20while%20trying%20to%20connect%20to%20the%20Docker%20daemon%20socket%20at%20unix:///var/run/docker.sock:%20Get%20http:///var/run/docker.sock/v1.24/containers/minikube/json:%20dial%20unix%20/var/run/docker.sock:%20connect:%20permission%20denied
'컨테이너 오케스트레이션' 카테고리의 다른 글
쿠버네티스 서비스타입 (0) | 2022.04.25 |
---|---|
쿠버네티스 자습서 (0) | 2022.04.22 |
Exiting due to PROVIDER_DOCKER_NEWGRP: "docker version --format -" exit status 1 오류 (0) | 2022.04.22 |
쿠버네티스와 컨테이너 오케스트레이션 정리 (0) | 2022.04.21 |
docker "minikube" container is missing, will recreate, The connection to the server localhost:8080 was refused 오류 (0) | 2022.04.21 |