Skip to content

Instantly share code, notes, and snippets.

@haplabs
Created November 27, 2019 20:33
Show Gist options
  • Save haplabs/f55972cc57f390ae0040cf867d253a4f to your computer and use it in GitHub Desktop.
Save haplabs/f55972cc57f390ae0040cf867d253a4f to your computer and use it in GitHub Desktop.
docker rm -f myjenkins
docker run -d --rm -u 2000 --name myjenkins -p 8080:8080 -p 50000:50000 -v $(pwd)/jenkins_home:/var/jenkins_home jenkins/jenkins
docker logs -f myjenkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment