Jenkins Operations: Difference between revisions
Jump to navigation
Jump to search
(→Run) |
|||
Line 7: | Line 7: | ||
{{External|https://wiki.jenkins.io/display/JENKINS/Jenkins+Best+Practices}} | {{External|https://wiki.jenkins.io/display/JENKINS/Jenkins+Best+Practices}} | ||
=Container- | =<span id='Container-Based_Jenkins'></span>Running Jenkins as a Docker Container= | ||
==Help== | ==Help== |
Revision as of 22:21, 24 April 2018
Internal
Best Practices
Running Jenkins as a Docker Container
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