docker内创建jenkins访问另一个容器下的服务器问题
PHPz
PHPz 2017-04-26 09:01:07
0
2
1291

docker内创建了两个容器:
容器1.搭建了jenkins(172.17.0.2)
容器2.搭建了一个服务器(172.17.0.3)
首先在容器2内创建了SSH
然后我在容器1内的jenkins内配置节点,但是我的节点总是不行
节点配置:

错误报告:

弄了一整天了···还没调好,急求大神帮小弟看看···┭┮﹏┭┮

PHPz
PHPz

学习是最好的投资!

reply all(2)
给我你的怀抱

There is no need to do this. Just connect Jenkins to the host, then delete the container and run a new one. If the deployment is simple, just update the directory mounted with -v and restart the container.

伊谢尔伦

You can use the container name to access the container service from another one under the same bridge network, not the IP address of the container! IP may change

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template