Skip to content

Simple Jenkins Docker container with docker client (Docker outside of Docker : DooD)

License

Notifications You must be signed in to change notification settings

toto1310/Simple-Jenkins-DooD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-Jenkins-DooD

docker automated build docker build status docker pull

I want to keep my environment clean. This helps me.

This makes you able to run Jenkins in Docker and to run new Docker containers for Jenkins jobs in your docker host. for example...

  • pull docker images
  • create and run docker containers
  • build docker images
  • push your docker image

This dockerfile is based on jenkins/jenkins and install Docker CE with Docker install Guide or Alpine Linux Wiki.

Available docker image tags and Related Dockerfile links

Getting Started

1. Pull or Build docker image

  • Pull

From Docker Hub

$ docker pull toto1310/simple-jenkins-dood
  • Build

From Github Repository

$ git clone https://github.com/toto1310/Simple-Jenkins-DooD
$ cd Simple-Jenkins-DooD
$ docker build -t toto1310/simple-jenkins-dood .

2. Create docker container and Start Jenkins

For Linux User

$ docker run -d --name jenkins \
 -v /var/run/docker.sock:/var/run/docker.sock \
 -v ${PWD}/jenkins_home:/var/jenkins_home \
 -p 8080:8080 \
 -p 50000:50000 \
 toto1310/simple-jenkins-dood

For Mac User

$ docker run -d --name jenkins \
 -v /var/run/docker.sock:/var/run/docker.sock \
 -v ${PWD}/jenkins_home:/var/jenkins_home \
 -p 8080:8080 \
 -p 50000:50000 \
 -u root \
 toto1310/simple-jenkins-dood

After a while, you can access http://localhost:8080

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

Simple Jenkins Docker container with docker client (Docker outside of Docker : DooD)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages