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