User Tools

Site Tools


linux:jenkins

Jenkins

Jenkins Docker

Start the Jenkins Docker with local port mapping 8082, then I can visit it via 127.0.0.1:8082

docker pull jenkins/jenkins:lts
docker run -d -v jenkins_home:/var/jenkins_home -p 8082:8080 -p 50000:50000 jenkins/jenkins:lts

Docker Commands

docker ps
docker exec -it 1efxxxx bash
docker logs 1efxxxx
cat var/jenkins_home/secrets/initialAdminPassword
/var/www/dokuwiki/wiki/data/pages/linux/jenkins.txt · Last modified: 2019/10/17 14:24 by percy