Last active
April 26, 2016 13:21
-
-
Save rahul286/9fd50453029bd5e3083f6fe3b65a941d to your computer and use it in GitHub Desktop.
jenkin setup using docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# on host machine | |
useradd -u 1000 -d /var/jenkins jenkins | |
chown -R jenkins:jenkins jenkins | |
# latest stable jenkins | |
docker run --name jenkins --privileged=true -p 8080:8080 -v /var/jenkins:/var/jenkins_home jenkins | |
# jenkins 2.x | |
docker run --name jenkins --privileged=true -p 8080:8080 -v /var/jenkins:/var/jenkins_home jenkins:2.0-rc-1 | |
# ee proxy | |
ee site create jenkins.example.com --proxy=localhost:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment