Hello all,

I am new to docker and jenkins and decided to pull in the official jenkins 
docker image. I have two containers running separate instances of jenkins 
on different ports.

I started a container with the below command:
docker run -d -p 8082:8080 -u 1003:1002 -v 
/webappsjenkins:/var/jenkins_home --name webappsjenkins jenkins

I started my second container with the next command:
docker run -d -p 8081:8080 -u 1002:1002 -v /mesjenkins:/var/jenkins_home 
--name mesjenkins jenkins


So I'm aware each container is supposed to host everything needed for it's 
own instance. Also my -v switch should have put everything needed for 
/var/jenkins_home in where I specified. I also believe JDK and Maven are 
included in the image. 

My ultimate question is what are the paths to jdk and maven from the 
official docker image? 

If this doesn't make sense please let me know and I will try to specify any 
additional information needed. I could not find this information on any of 
the resources I used:
https://github.com/jenkinsci/docker
https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin
http://www.catosplace.net/blog/2015/02/11/running-jenkins-in-docker-containers/

-- 
CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended only for use 
by the addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient of this 
e-mail message, you are hereby notified that any dissemination, 
distribution or copying of this e-mail message, and any attachments 
thereto, is strictly prohibited. If you have received this e-mail message 
in error, please immediately notify the sender and permanently delete the 
original and any copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT 
INTENDED AS A SUBSTITUTE FOR A WRITING. Notwithstanding the Uniform 
Electronic Transactions Act or the applicability of any other law of 
similar substance and effect, absent an express statement to the contrary 
hereinabove, this e-mail message its contents, and any attachments hereto 
are not intended to represent an offer or acceptance to enter into a 
contract and are not otherwise intended to bind the sender, Sanmina 
Corporation (or any of its subsidiaries), or any other person or entity.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/25319913-994d-452e-a030-0d57fab5440e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to