Last active
April 15, 2020 21:19
-
-
Save ankurpshah/395ef0a05fbc124cd2241c0d4f9cd802 to your computer and use it in GitHub Desktop.
Running jenkins locally in docker container.
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
docker volume create jenkins-data | |
docker volume create jenkins-root | |
docker run -u root --rm -d \ | |
-p 8080:8080 \ | |
-p 50000:50000 \ | |
-v jenkins-data:/var/jenkins_home \ | |
-v jenkins-root:/root \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v /Users/ankurshah/work:/Users/ankurshah/work \ | |
jenkinsci/blueocean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment