permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock

Posted 小鲨鱼2018

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock相关的知识,希望对你有一定的参考价值。

 

001、问题

[liujiaxin01@PC1 ~]$ docker search omicsclass
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/images/search?term=omicsclass": dial unix /var/run/docker.sock: connect: permission denied
[liujiaxin01@PC1 ~]$ groups liujiaxin01      ## 查看该用户所属的用户组
liujiaxin01 : liujiaxin01

 

以上是关于permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock的主要内容,如果未能解决你的问题,请参考以下文章

failed (13: Permission denied) while reading upstream解决方法

failed (13: Permission denied) while reading upstream解决方法

failed (13: Permission denied) while reading upstream解决方法

socket() failed (13: Permission denied) while connecting to upstream

nginx failed (13: Permission denied) while reading upstream

Nginx错误:(13: Permission denied) while reading upstream