Got permission denied while trying to connect to the Docker daemon socket at unix

问题描述Got permission denied while trying to connect to the Docker daemon socket at unix

解决

1.添加sudo权限
Got permission denied while trying to connect to the Docker daemon socket at unix
2.添加用户权限
Got permission denied while trying to connect to the Docker daemon socket at unix

sudo groupadd docker #添加docker用户组

sudo gpasswd -a $USER docker #将登陆用户加入到docker用户组中

newgrp docker #更新用户组
上一篇:Docker 配置阿里云加速


下一篇:Docker 配置阿里云镜像加速器