Installing jenkins in the Docker Container
#
Pulling jenkins Imagedocker pull jenkins/jenkins:lts
#
Presisting the Jenkins Storagejenkins volume create jenkinsvol1
#
Creating Jenkins in Dockerdocker container run -d -p 8356:8080 -v jenkinsvol1:/var/jenkins_home --name jenkins-local jenkins/jenkins:lts
#
Administrator Passworddocker exec -itu root {containerName} passwd
#
Executing the docker Imagedocker exec -it jenkins-local /bin/bash
#
Root Modesu
#
Administartor Passwordcat /var/jenkins_home/secrets/initialAdminPassword
- Click on the Custom Plugin to Install Plugins.
- Create your Username
- Configure the Jenkins to the Default local Address
localhost:8356
- Click on Start Using Jenkins
You can refer to the this for the Python Installation in the Jenkins-local container.