Launch Jenkins using Docker Compose

To launch a Jenkins server in a Docker container using Docker Compose, the following docker-compose.yml defines a Jenkins server with a persistent job configuration.

And start then start it:

You should now have a Jenkins running on localhost:8080.

If you need a bash to change any configuration, start it like this:


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.