Is helpful to run your own Jenkins instance to test your jobs and pipelines. Docker and docker-compose make this task doable in a few of steps.

My recommendation is to prepare Dockerfile that inherits from the official Jenkins docker image, and customize the packages and jenkins plugins that you want to use.

Clone and Run

  1. Clone the repository
    git clone
  2. Run
    cd jenkins
    docker-compose up
  3. Go to http://localhost:8080/


Check out the Official Jenkins Docker Image documentation for more info on how to get the most out of Jenkins in Docker.


File all bugs/feature requests at waltervargas/jenkins GitHub repo.


If you have questions, you can ask me on this post as a disqus comment.