Skip to content

Instantly share code, notes, and snippets.

@vishnuhd
Last active September 7, 2019 21:28
Show Gist options
  • Save vishnuhd/9617f82d3f57c07f4188d61b05ec1e68 to your computer and use it in GitHub Desktop.
Save vishnuhd/9617f82d3f57c07f4188d61b05ec1e68 to your computer and use it in GitHub Desktop.
Quickly get a Jenkins server running locally on docker with persistent volume

Command :

docker run -d -v jenkins_home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock -p 8080:8080 -p 50000:50000 jenkins/jenkins:lts

PS :

Docker should be installed on the host machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment