docker失败
2018-07-12 本文已影响0人
JavaLearner
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当前用户,然后重新登录