Jenkins Operations: Difference between revisions
Jump to navigation
Jump to search
(→Run) |
(→Run) |
||
Line 17: | Line 17: | ||
The following command line assumes that the image was modified to maintain [[Jenkins_Concepts#Instance_State|the plugin and WAR directories]] in custom locations: | 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 jenkins/jenkins:LTS | docker run --rm -p 8080:8080 -v /var/lib/jenkins:/var/jenkins_home jenkins/jenkins:LTS |
Revision as of 00:03, 21 April 2018
Internal
Best Practices
Container-Based Jenkins
Help
docker run --rm jenkins/jenkins:LTS --help
Run
The following command line assumes that the image was modified to maintain the plugin and WAR directories in custom locations:
docker run --rm -p 8080:8080 -v /var/lib/jenkins:/var/jenkins_home jenkins/jenkins:LTS