Jenkins (Docker): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 7: Zeile 7:
<pre>
<pre>
docker run --detach -p 8080:8080 -p 50000:50000 --restart=on-failure -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts-jdk11
docker run --detach -p 8080:8080 -p 50000:50000 --restart=on-failure -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts-jdk11
</pre>
== Stop ==
<pre>
docker container list
docker stop <name>
</pre>
</pre>



Version vom 27. August 2022, 12:48 Uhr

Pull und Run

docker pull jenkins/jenkins:lts-jdk11
docker run --detach -p 8080:8080 -p 50000:50000 --restart=on-failure -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts-jdk11

Stop

docker container list
docker stop <name>

Links

https://hub.docker.com/r/jenkins/jenkins


Zurück zu Docker, Jenkins