繁体   English   中英

无法启动在 Linux 盒上运行的 Jenkins 控制台

[英]Unable to launch the Jenkins console which is running on Linux box

我刚刚使用以下命令从 docker 集线器中提取了 Jenkins 图像。

sudo docker pull jenkins

sudo docker run -p 7071:7071 -p 50000:50000 jenkins this command help me to run the jenkins image inside the docker container 在此处输入图像描述

现在的问题是我只想运行 Jenkins 控制台来创建一些示例测试作业。 当我试图从一些 windows 机器上访问它时,我无法连接并返回 404 错误代码。

尝试从 Windows 机器连接 Jenkins。

http://<ip address>:7071  -> this is failing to connect.
http://<ip address>:50000  -> This returning the Jenkins Agent Protocol details

Output:

Jenkins-Agent-Protocols:JNLP-connect、JNLP2-connect、JNLP4-connect、Ping Jenkins-版本:2.60.3 Jenkins-Session:cba34bd8 客户端:XXXXXXXX 服务器:YYYYYYYY

Can someone help me since I'm new to docker + jenkins world and want to know how to connect the dockerized jenkins that is hosted in the Linux box.

提前致谢。

Jenkins 用于通过 web 控制台访问的主要端口是 8080,因此添加:

docker run ... -p 8080:8080

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM