openeuler23.09在线安装jenkins

下载Jenkins镜像
docker pull jenkins/jenkins:2.346.3
挂载目录

mkdir -p /haifeng/app/jenkins-server-node-1
 
# 授权
chmod -R 777 /haifeng/app/jenkins-server-node-1

启动镜像

docker run -u root -d -p 10000:8080 --name jenkins -e LANG=C.UTF-8 -v /haifeng/app/jenkins-server-node-1:/jenkins-server-node-1  jenkins/jenkins:2.346.3

访问Jenkins
ip:10000

你可能感兴趣的:(openeuler23.09在线安装jenkins)