Jenkins Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
=<span id='Container-Based_Jenkins'></span>Running Jenkins as a Docker Container=
=<span id='Container-Based_Jenkins'></span>Running Jenkins as a Docker Container=


==Help==
{{Internal|Running Jenkins as a Docker Container|Running Jenkins as a Docker Container}}
 
docker run --rm jenkins/jenkins:LTS --help
 
==Run==
 
The following command line assumes that the image was modified to maintain [[Jenkins_Concepts#Instance_State|the plugin and WAR directories]] in custom locations:
 
docker run --rm -p 8080:8080 -v /var/lib/jenkins:/var/jenkins_home jenkins/jenkins:LTS

Revision as of 22:23, 24 April 2018