Public | Automated Build

Last pushed: 4 months ago
Short Description
Jenkins Master
Full Description

jenkins

To allow Docker based builds through a Docker running Jenkins Server(require default ip is 172.17.0.2) and Slave

> docker run —name jenkins-master -d -p 8080:8080 -v /var/run/docker.sock:/var/run/docker.sock -v $PWD/jenkins_home:/var/jenkins_home zhongjx/jenkins-master:2.46.1
> docker run -d -e JENKINS_PASS=replacement -e JENKINS_USER=replacement -e SWARM_EXECUTORS=1 -v /var/run/docker.sock:/var/run/docker.sock zhongjx/jenkins-swarm-slave:c2.1
Docker Pull Command
Owner
zhongjx

Comments (0)