Jenkins from zero: install with Docker, first login, plugins and a worker
Install Jenkins with Docker, find the first admin password, choose plugins, create an admin user, and learn what an agent is so tests can run somewhere other than…
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: opening a new kitchen. The owner unlocks the door with a one-time key, picks the tools to install and then cuts their own key. Later, extra cooks work at side stations. The owner still takes the orders.
The one-time key is the . The tools are plugins. The cooks are agents.
Tom, a tester at Daily List, a to-do list app, opens the kitchen. Lily asks where the recipes will live after a restart.
What it is: Jenkins is a (CI) server you install and run yourself. This first start covers the program, the unlock key, the add-ons and a worker. The initial admin password is a one-time secret, a plugin is an add-on such as test reports, and an agent is a worker machine. GitHub Actions is the neighbour, and you do not install it. It already runs on GitHub's website.
Why it matters: Jenkins without a first login is a locked box. Tom cannot save Daily List jobs or add the report plugin until he pastes the initial admin password. Without a volume, a restart wipes the jobs. Without an agent, heavy browser tests sit on the controller and slow everyone down.
PLAIN WORDS · 1 in this section
- github
- a web site that hosts code and runs checks
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Opening a restaurant kitchen with a one-time key and extra cooks.
- Unlock
- Equip
- Staff
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The one-time key | The initial admin password |
| Equipment installed | Plugins |
| Extra cooks at other stations | Agents |
| The store room that survives a adjust | A data volume |
WHERE THIS PICTURE STOPS
- A key opens a door, but a password unlocks a page.
- Cooks are people, but agents are machines.
- A store room is one room, but a volume can be moved.
HOOK
Key, equipment, cooks.
TELL A FRIEND
A kitchen: key, equipment, cooks.
OFTEN MIXED UP WITH Docker from zero: images, containers, ports and volumes for testers. That topic runs a first container with a port and a volume. This one uses those ideas to install Jenkins.
PRACTISE AND KEEP
Sources for this topic — 3 sources
- Market practice
Installing Jenkins with Docker or on Linux (guides) ↗ — KodeKloud · Guides: the setup page at port 8080 asks for an initial admin password found in the container log or a secrets file, then offers suggested plugins and an admin user
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Installing Jenkins with Docker ↗ — Jenkins project · Jenkins home volume, initial unlock, current lts-jdk21 image and setup.
Actual primary documentation body read during the complete V30 domain analysis before implementation. Live documentation access-dated; no claim this version is installed in the learner environment. No artwork copied by this content change.
- Market practice
Controller isolation ↗ — Jenkins project · Separate build execution from controller; built-in executors zero.
Actual primary documentation body read during the complete V30 domain analysis before implementation. Live documentation access-dated; no claim this version is installed in the learner environment. No artwork copied by this content change.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.