Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

jenkins as docker container

docker run --name jenkins-docker --rm --detach 
  --privileged --network jenkins --network-alias docker 
  --env DOCKER_TLS_CERTDIR=/certs 
  --volume jenkins-docker-certs:/certs/client 
  --volume jenkins-data:/var/jenkins_home 
  --publish 2376:2376 
  docker:dind --storage-driver overlay2
Source by www.jenkins.io #
 
PREVIOUS NEXT
Tagged: #jenkins #docker #container
ADD COMMENT
Topic
Name
4+7 =