Quantcast
Channel: Java mon amour
Viewing all articles
Browse latest Browse all 1121

Jenkins blueocean plugin with Docker

$
0
0
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 -v jenkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean

(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





Viewing all articles
Browse latest Browse all 1121

Trending Articles