This project demonstrates the deployment of Jenkins, a widely used continuous integration and continuous delivery (CI/CD) automation server, using Docker. The setup provides a reproducible, isolated, and persistent environment for running Jenkins locally.
mkdir jenkins-docker cd jenkins-docker
Define Jenkins service with ports and volume.
docker compose up -d
http://localhost:8081
docker exec jenkins-server cat /var/jenkins_home/secrets/initialAdminPassword
Install suggested plugins.
Set username, password, and email.
docker ps
docker logs jenkins-server
This setup demonstrates containerized Jenkins deployment using Docker and forms a base for CI/CD pipeline implementation.