This is the Jenkins master node. There are no executors in this node, so you need to attach one or more slaves to run the jobs.
Create a folder to store Jenkins data files, so the container can be reseted without losing information.
mkdir ~/jenkins_data
chmod 777 ~/jenkins_data
Run the container
docker run -d --name jenkins --restart=always -p 8080:8080 -p 50000:50000 -v ~/jenkins_data:/var/jenkins_home cnservices/jenkins-master
In order to have Jenkins jobs automatically configured when you run the container, follow these steps:
This distribution of Jenkins enables password security with the following credentials:
Username: admin
Password: admin
Only logged in users can manage Jenkins and is disable the anonymous access.
PLEASE CHANGE THIS SECURITY SETTINGS AFTER DEPLOYING YOUR INSTANCE
Content type
Image
Digest
Size
616 MB
Last updated
about 6 years ago
docker pull mfvdevops/jenkins-master