Jenkins: Can't connect to Docker daemon解决办法

Posted 无为不为

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Jenkins: Can't connect to Docker daemon解决办法相关的知识,希望对你有一定的参考价值。

Jenkins安装后首次使用报错:

Jenkins: Can‘t connect to Docker daemon

 

解决办法:

参照StackOverflow

 

添加jenkins用户到dockergroup

sudo gpasswd -a jenkins docker

 

重启jenkins服务:

sudo service jenkins restart

 

以上是关于Jenkins: Can't connect to Docker daemon解决办法的主要内容,如果未能解决你的问题,请参考以下文章

解决UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-16: ordinal no

170318 11:44:26 [ERROR] Can't start server: can't create PID file: No space left on device

Can't find model 'en'

Can't bind to 'ngModel' since it isn't a known property of 'input'.

java.io.IOException: Can't read [jrelib t.jar]

es启动报错BindException: Can't assign requested address