[英]Jenkins docker plugin issue >> All nodes of label ‘agent’ are offline
[ 1.1.9 ] docker-plugin version [ 1.1.9 ] 码头插件版本
[ Jenkins ver. [ Jenkins 版本。 2.204.2 ] jenkins version
2.204.2] jenkins版本
[ 19.03.6 ] docker engine version [ 19.03.6 ] docker 发动机版
Connect method >> attach docker container连接方法>>附上docker容器
Hi, im trying to use docker plugin in my env.嗨,我试图在我的环境中使用 docker 插件。 It was working everything was good.
它工作一切都很好。 After recreating /srv/docker (i've changed the default docker path) path it stopped work.
重新创建 /srv/docker 后(我更改了默认的 docker 路径)路径它停止工作。 Now when i run build i see in build logs:
现在,当我运行构建时,我在构建日志中看到:
All nodes of label 'second-docker-agent' are offline label 'second-docker-agent' 所有节点下线
I did "test connection" in docker configuration, it succeed.我在 docker 配置中做了“测试连接”,它成功了。 I can also run containers from jenkins master to docker host via remote api.
我还可以通过远程 api 运行从 jenkins 主机到 docker 主机的容器。
Cant figure out what else i can check to troubleshoot it.无法弄清楚我还能检查什么来解决它。 Maybe you got this issue during your expierence.
也许您在体验期间遇到了这个问题。
The issue was fixed.问题已解决。
I just recreated docker host configuration from jenkins site.我刚刚从 jenkins 站点重新创建了 docker 主机配置。 I deleted cloud configuration and added again as the same.
我删除了云配置并再次添加。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.