https://jenkins.io/doc/book/blueocean/getting-started/ and here the Docker installation instructions https://jenkins.io/doc/book/installing/#docker
Here all the Docker images https://hub.docker.com/r/jenkinsci/blueocean/tags/
Then I run this:
( http://devdocs.io/docker~1.12/engine/reference/commandline/run/index I am using Docker 1.12 )
docker run -u root -d -p 8080:8080 -p 50000:50000 -v jenkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean
port 50000 is needed only if you plan to use slave build agents
(I had to remove --rm otherwise I get Conflicting options: --rm and -d )
docker ps gives you the containerid -> docker exec -ti 03e820715e74 bash
cat /var/jenkins_home/secrets/initialAdminPassword
copy and paste in localhost:8080 to unlock Jenkins
https://jenkins.io/doc/book/installing/#docker
Wednesday, January 10, 2018
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment