Jenkins series installation and deployment in docker mode

Jenkins install
1. Search for mirror

docker search jenkins

2. Pull the mirror image

docker pull jenkinsci/blueocean

3. Run

docker run -u root -d -p 8080:8080 -p 50000:50000 -v /var/jenkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean

Browser access

http://ip:8080/

5. The initial password – this file
/var/Jenkins – data/secrets/initialAdminPassword

Read More: