Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jbontech/93d4ce0109b55d6b093e2175faa9d64e to your computer and use it in GitHub Desktop.
Save jbontech/93d4ce0109b55d6b093e2175faa9d64e to your computer and use it in GitHub Desktop.

Gist to support https://www.youtube.com/watch?v=QNZNfvrFBMo

Documentation

Commands

  • docker run --rm --name jenkins -p 8080:8080 -p 50000:50000 jenkins/jenkins:2.303.1-jdk8
  • docker run --rm --name jenkins -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home jenkins/jenkins:2.303.1-jdk8
  • docker run --rm --name jenkins -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home jenkins/jenkins:2.303.2-jdk8
  • docker run --rm --name jenkins -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home jenkins/jenkins:2.303.2-jdk11
@jbontech
Copy link
Author

jbontech commented Jan 8, 2023

Run jenkins in docker with simple one line command

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