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.40/containers/json: dial unix /var/run/docker.sock: connect: permission denied
时间: 2023-05-03 11:02:28 浏览: 304
Docker”Got permission denied while trying to connect to the Docker daemon socket”报错解决
5星 · 资源好评率100%
尝试连接到位于unix:///var/run/docker.sock的docker守护进程套接字时,出现了权限被拒绝的错误,无法获取http://%2fvar%2frun%2fdocker.sock/v1.40/containers/json URL。错误原因是无法访问/var/run/docker.sock,因为当前用户没有足够的权限来连接到该套接字。
阅读全文