Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

run jenkins docker

docker run 
--name jenkins 
-p 8080:8080 
-p 50000:50000 
-v jenkins_home:/var/jenkins_home 
-d 
-v /var/run/docker.sock:/var/run/docker.sock 
-v $(which docker):/usr/bin/docker 
jenkins/jenkins:jdk17-preview 
 
PREVIOUS NEXT
Tagged: #run #jenkins #docker
ADD COMMENT
Topic
Name
4+9 =