Writing criteria for this guide
Every "for Mere Mortals" guide is written to the same nine-point standard, so a reader who trusts one can trust the rest. Here it is, with the verification notes for this particular guide below.
- Fix it first. Reader outcomes lead, not action items: each chapter opens by naming the outcome it delivers, shows a check the reader can run to confirm they got it, and a reasonable reader finishes able to state what was done, what it means, and what to try next.
- Plain language. Short sentences, everyday vocabulary, technical terms defined on first use. No slang, and no idioms that only make sense in one country — the reader may be translating as they go.
- No dead ends. A guide never tells the reader to do something it cannot show them how to verify. Every claim a reader relies on — an install, a command, an output — is something this guide demonstrates or clearly labels documented-only below.
- Live-verified where it matters. Procedures are run for real in the guide's lab wherever the build machine allows it, and the transcripts kept in the repository are the evidence. What could not be run is listed honestly below, never presented as if it had been.
- General audiences. Nothing in this guide — examples, fixtures, names, addresses — is modelled on any particular reader or author's real life, network, or organisations. The lab's stack is two invented services talking to itself.
- Standalone. A reader needs this guide, its lab, and nothing else. Where another guide would genuinely help, it is pointed to once, by name, and the chapter still completes without it.
- Honest about limits. Chapter 14 names what the tool cannot do: one login holding every engine it manages, the engine socket as a root key, the free edition's missing audit trail and sign-on machinery, a console that keeps no history and stands watch over nothing, and a memory that can disagree with the world it describes.
- The security rule is in the text, early. Chapter 1 and the README state the rule plainly — a Portainer administrator can do anything the engine can do, so the console is a privileged door and is guarded like one — before any procedure depends on it, and later chapters point back to it where the tooling would make forgetting easy.
- Builds clean. The site builds with MkDocs in strict mode with no warnings, and a fresh reader following the chapters in order reaches the stated outcome of each.
Verification notes for this guide
The build machine is a 2-CPU, 7.7 GB Ubuntu 24.04 sandbox.
Portainer CE 2.45.3 (portainer/portainer-ce:latest,
pulled 2026-10-26) ran as a container under Podman 4.9.3,
managing that same Podman through its Docker-compatible API
socket (podman system service). Every transcript lives in
portainer-lab/transcripts/. The lab drove Portainer through
its HTTP API — the same API its web pages call — because an
API session leaves a transcript and a clicking session does
not; the chapters say so wherever the distinction matters.
The sandbox shaped the lab in three ways, all documented in transcript t90 and never hidden in the text:
- Its kernel forbids overlay mounts, new network namespaces
and systemd cgroup management, so the engine ran with the
vfsstorage driver, thecgroupfscgroup manager and host networking only. Consequence: the lab's stack usesnetwork_mode: host(portainer-lab/stack-lab.yaml) where the teaching file (stack.yaml) publishes a port on a bridge network. Both files were validated with a real Compose validator (t00); only the lab variant was deployed. - The sandbox's network path answers TLS with a certificate Portainer could not verify, so the app-template catalogue fetch failed (t11) and chapter 10 is documented-only.
- A container
topcall was refused by the sandbox kernel (crunmay not open the container's/proc); the refusal is kept verbatim in transcript t05.
Run for real, with transcripts as evidence:
- The engine socket answering Docker API calls; both Compose files validated (t00).
- Install: image pull, container start,
/api/system/statusreporting 2.45.3 (t01). - The first-login door, both sides: admin creation refused
without the setup token (HTTP 403, verbatim), accepted with
the token read from the server log;
admin/checkflipping 404 → 204; sign-in issuing a JWT (t02). - Environment registration: the initially empty list, the local endpoint created against the socket (Status 1, up), and the engine's version returned through Portainer's Docker proxy (t03).
- Stack deploy:
storybookcreated from its Compose file over the API, stack record and container list agreeing, and the web service answering a real HTTP request with its page (t04). - Day-to-day container work: logs read through the proxy (the lab's own requests visible in them), the cache stopped and started with states flipping as reported (t05).
- Images, volumes and networks listed through the proxy (t06); teams, a standard user, and a team membership created; the new user signed in and shown no environments — access control proven from the inside (t07).
- Backup: an encrypted archive downloaded (tar's refusal of it kept and explained, t08); the stack removed and its named volume surviving the removal (t09); a fresh Portainer instance restored from that backup — setup token required, as it should be — after which the old credentials signed in and both users and the stack record were back (t10).
Documented only — described from the project's documentation, not run, and the text does not claim otherwise:
- The browser pages as pages: every one was exercised only through the API calls it makes. The interactive container console (a websocket shell) likewise.
- Container statistics graphs; the process table was attempted and refused by the sandbox (see above).
- Updating Portainer (chapter 12): the lab installed the current release fresh, so the pull-recreate-return procedure is documented, with the pre-update backup — which was run — as its verified half.
- Remote environments: agent, Edge agent and TCP connections; Kubernetes and Swarm environments; stacks from Git; custom registries and their credentials; LDAP/OAuth sign-on; Business Edition features.
- The administrator password-reset helper image (chapter 15), and the comparison tools of chapter 13, characterised and not benchmarked.
Fixtures are this guide's own and deliberately generic: a
two-service stack (storybook: an nginx welcome page and a
Redis cache) invented for the occasion, a team called
storytellers, and a user called reader, all on one loopback
machine. The lab passwords (portainer-lab-42,
reader-lab-42) are throwaway credentials of a sandbox that
no longer exists, printed because the transcripts are only
reproducible with them. No example is modelled on any real
person, network, service or organisation.