Skip to content

Testing out jenkins inside of docker using dnd and other docker tools

License

Notifications You must be signed in to change notification settings

bdflemin/docker-jenkins-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL - https://www.jenkins.io/doc/book/installing/docker/

# docker network create jenkins

# docker run --name jenkins-docker --rm --detach \
  --privileged --network jenkins --network-alias docker \
  --env DOCKER_TLS_CERTDIR="" --expose 2375\
  --volume jenkins-docker-certs:/certs/client \
  --volume jenkins-data:/var/jenkins_home \
  --publish 12375:2375/tcp docker:dind


## Make sure you run this with the Dockerfile in your current path
# docker build -t myjenkins-blueocean:1.1 .


# docker run --name jenkins-blueocean --rm --detach \
  --network jenkins --env DOCKER_HOST=tcp://172.19.0.3:2375 \
  --env DOCKER_CERT_PATH=/certs/client --env DOCKER_TLS_VERIFY= \
  --publish 8080:8080 --publish 50000:50000 \
  --volume jenkins-data:/var/jenkins_home \
  --volume jenkins-docker-certs:/certs/client:ro \
  myjenkins-blueocean:1.1

About

Testing out jenkins inside of docker using dnd and other docker tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published