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

 

posted @ 2018-03-27 11:49  yuchen16  阅读(956)  评论(0编辑  收藏  举报