Skip to content
Jenkins in Docker container via docker-compose.yml (example)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Docker composition of Jenkins

How to set up

Clone repository

git clone

Switch work directory to root of project

cd docker-compose-jenkins

Copy composition config from example

cp docker-compose.yml.dist docker-compose.yml

Run composition

docker-compose up -d

After that, if you'll open http://localhost in your browser, you'll see Jenkins installation page.

By the way, mounting the directory does not work on Windows and MacOS X, so I strongly recommend that you configure everything on Linux, for example on Ubuntu Linux.

Good luck!


You can’t perform that action at this time.