Skip to content

[docs-scanner] Invalid registry image version in trust sandbox compose file #25147

@github-actions

Description

@github-actions

File: content/manuals/engine/security/trust/trust_sandbox.md

Issue

The compose.yaml example specifies an invalid registry image version:

sandboxregistry:
  image: registry:3

The official Docker registry image does not have a version 3. The current stable version is 2.x (specifically, the latest is registry:2.8.x). Using registry:3 would cause the sandbox setup to fail when users try to run docker compose up -d.

Why this matters

Readers following this tutorial will encounter an immediate failure when trying to build the sandbox:

Error response from daemon: manifest for registry:3 not found

This breaks the tutorial at the very first step, preventing users from experimenting with Docker Content Trust as intended. The error provides no clear guidance about what went wrong.

Suggested fix

Change the registry image to use a valid version:

sandboxregistry:
  image: registry:2

Or use a specific stable version like registry:2.8 if version pinning is preferred for tutorial stability.


Found by nightly documentation quality scanner

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions