简体   繁体   English

Jenkins docker 插件问题 >> label 'agent' 的所有节点都下线

[英]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.

相关问题 Jenkins 代理无 Docker - Jenkins agent without Docker Jenkins 使用 docker 作为代理 - Jenkins using docker as an agent 以root身份运行代理docker时,Jenkins Build Pipeline deleteDIR()问题 - Jenkins Build Pipeline deleteDIR() issue when running agent docker as root 在 docker 容器中运行 jenkins 代理,问题与 jenkins 管道和 /var/run/docker.socket - Run jenkins agent in docker container, issue with jenkins pipeline and /var/run/docker.socket 图片权限在 jenkins docker 代理 - Image permission in jenkins docker agent 如何使用 Jenkins docker-swarm-plugin 使用 docker 图像 jenkins/jnlp-slave(传递代理名称) - How can I user docker image jenkins/jnlp-slave with Jenkins docker-swarm-plugin (pass agent name) 詹金斯。 指定的代理类型“docker”无效。 必须是 [any, label, none] 之一 - Jenkins. Invalid agent type "docker" specified. Must be one of [any, label, none] 在Jenkins代理docker映像中运行业力测试时,ChromeHeadless挂起(使用Kubernetes插件) - ChromeHeadless hangs when running karma tests inside Jenkins agent docker image (with Kubernetes plugin) 在jenkins上使用docker插件 - - using docker plugin on jenkins - Docker 云插件 Jenkins - Docker cloud plugin for Jenkins
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM