dial unix /var/run/docker.sock: permission denied.Are you trying to connect to a TLS-enabled
解决方法
sudo usermod -aG docker user_name
查看用户组
cat /etc/group | grep ^docker
logout当前用户,然后重新登录
dial unix /var/run/docker.sock: permission denied.Are you trying to connect to a TLS-enabled
解决方法
sudo usermod -aG docker user_name
查看用户组
cat /etc/group | grep ^docker
logout当前用户,然后重新登录
本文标题:docker失败
本文链接:https://www.haomeiwen.com/subject/kulrpftx.html
网友评论