docker
Docker official jenkins repo
File Explorer
- 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
docker- Docker latest
Setup Steps
docker run -p 8080:8080 -p 50000:50000 --restart=on-failure -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts-jdk21
Run the Jenkins Docker container with a persistent volume attached.
Key Commands
docker run -p 8080:8080 -p 50000:50000 --restart=on-failure -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts-jdk21
Creates and runs a container from the Jenkins Docker image.
docker exec myjenkins cat /var/jenkins_home/secrets/initialAdminPassword
Retrieves the initial admin password from inside the running Jenkins container.
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
docker compose up
View Details ▼
docker compose up
Start and run Docker services defined in a Compose file.
docker compose up
Start all services defined in the docker-compose file:
docker compose up {{[-d|--detach]}}
Start services in the background (detached mode):
docker compose up --build
Start services and rebuild images before starting:
docker compose
View Details ▼
docker compose
Run and manage multi container Docker applications.
docker compose ps
List all running containers:
docker compose up {{[-d|--detach]}}
Create and start all containers in the background using a `docker-compose.yml` file from the current directory:
docker compose up --build
Start all containers, rebuild if necessary:
docker cp
View Details ▼
docker cp
This command is an alias of `docker container cp`.
tldr docker container cp
View documentation for the original command:
docker exec
View Details ▼
docker exec
This command is an alias of `docker container exec`.
tldr docker container exec
View documentation for the original command:
docker pull
View Details ▼
docker pull
This command is an alias of `docker image pull`.
tldr docker image pull
View documentation for the original command:
docker run
View Details ▼
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
