Software Testing / Learning brief

Tom opens the sealed lunch box

What this means in plain language

Tom's tests pass on his laptop and fail in the pipeline. A lunch-box story shows how a shared image and a Compose file give the Daily List team the same everywhere.

Understand the full idea, step by step

A sealed lunch box holds the same meal wherever you open it. When lunch is over, you throw the box away. Nothing from today spills into tomorrow.

Tom's tests passed on his laptop and failed in the pipeline. He said it worked on his machine. Mei, the test lead, asked Leo for a lunch box, so that every machine would run the same thing.

Evidence & review

REVIEWED 2026-10-18

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

Containers, images and Compose files as taught in this academy. The people and the Daily List app are invented.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The Compose file was checked with a Compose command but no container was started. The lunch box picture is a teaching aid.

Sources for this brief — 7 sources
  1. Market practice

    Understanding Docker components (Tailscale Docs) ↗ — Tailscale · An image is a packaged template; a container is a running instance of an image, isolated in its own files, network and processes (search excerpt, page not opened)

    Says an image is a packaged template and a container is a running instance of it, isolated in its own file system, network and processes. Practitioner guidance, not a standard. · Checked 2026-10-18

    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.

  2. Market practice

    OCI Image Format Specification (Open Container Initiative) ↗ — Open Container Initiative · An OCI image consists of a manifest, an optional image index, a set of layers of files and a configuration (search excerpt, page not opened)

    Defines an image as a manifest, optional index, filesystem layers and a configuration. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: v1.0.1. 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.

  3. Market practice

    Docker Compose overview (Docker Docs) ↗ — Docker · Docker Compose defines and runs multi-container applications from one YAML file (search excerpt, page not opened)

    Says Compose defines and runs multi-container applications from one YAML Ain't Markup Language (YAML) file. Vendor documentation. Practitioner guidance, not a standard. · Checked 2026-10-18

    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.

  4. Market practice

    docker compose down (Docker Docs) ↗ — Docker · docker compose down removes the containers and networks; volumes are removed only with the --volumes flag (search excerpt, page not opened)

    Says down removes the containers and networks, and removes volumes only with the --volumes flag. Vendor documentation. Practitioner guidance, not a standard. · Checked 2026-11-06

    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.

    Verification supplement, 6 November 2026: Actual current command reference opened: default removes containers/networks, volumes remain; --volumes explicit; external volumes not removed.

  5. Market practice

    docker container logs (Docker Docs, CLI reference) ↗ — Docker · docker logs fetches the logs of a container; options include follow, tail, since and timestamps (search excerpt, page not opened)

    Says docker logs fetches the output a container wrote, with options such as follow, tail, since and timestamps. Vendor documentation. Practitioner guidance, not a standard. · Checked 2026-10-18

    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.

  6. Market practice

    Dev/prod parity (The Twelve-Factor App) ↗ — Adam Wiggins · Dev/prod parity: keep the tools gap between development and production small (search excerpt, page not opened)

    Says to keep the time, personnel and tools gaps between development and production small. Practitioner guidance, not a standard. · Checked 2026-10-18

    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.

  7. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

Learn this properly

START HEREContainers as disposable test environmentsA container packs a program with everything it needs, so the same setup starts the same way on any computer. That makes a clean, throwaway test environment cheap to build.Opens at L0 Explain simply · about 12 min

Related briefs

Tom opens the brick box

Tom practises questions on the design of test automation. A box of building bricks helps him place code in framework layers, pick an approach and choose a design pattern.

READ BRIEF