docker run -u root -d --rm -p 8090:8080 --name jenkins-blueocean -v jenkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean
http://localhost:8080 and finish configuring admin user and install all recommended plugins
docker ps (note the containerid)
docker commit $containerid myjenkinsblueocean
sudo docker run --detach --publish 8080:8080 cptactionhank/atlassian-jira:latest
(for some reason, jira in docker needs 8080:8080... I tried 8090:8080 and it tries internally to connect to 8080 which fails)
See also http://www.javamonamour.org/2017/11/jira-on-docker-and-integration-with.html
Showing posts with label blueocean. Show all posts
Showing posts with label blueocean. Show all posts
Monday, April 16, 2018
Wednesday, January 10, 2018
Jenkins blueocean plugin with Docker
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
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
Subscribe to:
Posts (Atom)