Expand description
“Could the daemon pull this image without credentials?”, asked of the registry directly, for the create flow.
The image name is user data: an imported or custom template can name any
registry, and the registry names the token endpoint (realm) in its own
challenge. So this module treats both as hostile input. It only ever talks
to public https hosts: every host it contacts is checked by name and by the
addresses it resolves to, the connection is pinned to those addresses, and
redirects are never followed. Anything it refuses to contact is Unknown,
which never blocks the sandbox.
Spec: docs/specs/SPEC_CONTAINER_AGENTS_WORK_FOR_EVERYONE_2026_10_07.md section 3.4.
Functions§
- probe_
anonymous - Ask the image’s registry, without credentials, whether its manifest can be
read: the same question the daemon’s pull answers.
Unknownfor anything that isn’t a definite answer (offline, a proxy, a host this refuses to contact).