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

README.md

Docker composition of Jenkins

How to set up

Clone repository

git clone git@github.com:EvilFreelancer/docker-compose-jenkins.git

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!

Links

You can’t perform that action at this time.