본문 바로가기
Docker

[Docker] Docker 권한문제 해결, Got permission denied while trying to connect to the Docker

by Chandler.j 2022. 9. 2.
반응형

1. 권한 이슈

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/json?all=1": dial unix /var/run/docker.sock: connect: permission denied


2. 해결

- 해당 사용자 도커 권한 추가

sudo usermod -a -G docker $USER
newgrp docker

 


TOP

Designed by 티스토리