docker
Docker official jenkins repo
File Explorer
Download Latest Version (.zip)- publish.sh
- release-drafter.yml
- updatecli.yaml
- CODEOWNERS
- dependabot.yml
- FUNDING.yml
- release-drafter.yml
- Dockerfile
- Dockerfile
- Dockerfile
- config
- Dockerfile
- Dockerfile-windows
- expected_env_vars_except_hostname.txt
- expected_platforms.txt
- expected_tags.txt
- expected_tags_latest_lts.txt
- expected_tags_latest_weekly.txt
- my-happy-plugin.hpi
- Dockerfile
- Dockerfile-windows
- Dockerfile
- Dockerfile
- Dockerfile-windows
- plugins.txt
- Dockerfile
- Dockerfile-windows
- plugins.txt
- Dockerfile
- Dockerfile-windows
- Dockerfile
- Dockerfile-windows
- Dockerfile
- Dockerfile-windows
- bats-assert
- bats-support
- Dockerfile
- Dockerfile-windows
- bake.bats
- functions.bats
- functions.Tests.ps1
- jenkinsfile.bats
- plugins-cli.bats
- plugins-cli.Tests.ps1
- runtime.bats
- runtime.Tests.ps1
- test_helpers.bash
- test_helpers.psm1
- update-golden-file.sh
- hadolint
- shellcheck
- rhel-latest-tag.sh
- alpine.yaml
- debian.yaml
- git-lfs.yaml
- hadolint.yaml
- jdk21.yaml
- jdk25.yaml
- jenkins-version.yaml
- pester.yaml
- plugin-installation-manager-tool.yaml
- rhel.yaml
- shellcheck.yaml
- values.github-action.yaml
- Dockerfile
- .git-blame-ignore-revs
- .gitignore
- .gitmodules
- .hadolint.yml
- CHANGELOG.md
- CONTRIBUTING.md
- docker-bake.hcl
- docker-bake.override.json
- HACKING.adoc
- jdk-download-url.sh
- jdk-download.sh
- jenkins-plugin-cli.ps1
- jenkins-plugin-cli.sh
- jenkins-support
- jenkins-support.psm1
- jenkins.io-2026.key
- jenkins.ps1
- jenkins.sh
- Jenkinsfile
- LICENSE.txt
- make.ps1
- Makefile
- README.md
- SECURITY.md
- tini_pub.gpg
๐ Installation Guide
1. Get the code
git clone https://github.com/jenkinsci/docker
Downloads the entire project code from GitHub to your computer.
cd docker
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker run -p 8080:8080 -p 50000:50000 --restart=on-failure jenkins/jenkins:lts-jdk21
Runs the built image as an actual container.
docker run -p 8080:8080 -p 50000:50000 --restart=on-failure -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts-jdk21
Runs the built image as an actual container.
docker run -d -v jenkins_home:/var/jenkins_home -p 8080:8080 -p 50000:50000 --restart=on-failure jenkins/jenkins:lts-jdk21
Runs the built image as an actual container.
docker exec <jenkins_container_id_or_name> cat /var/jenkins_home/secrets/initialAdminPassword
Type this command into your terminal and run it.
docker run --name myjenkins -p 8080:8080 -p 50000:50000 --restart=on-failure --env JAVA_OPTS=-Dhudson.footerURL=http://mycompany.com jenkins/jenkins:lts-jdk21
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
Pulled directly from this repo's README.
3. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
