Expand description
§Implementation of “logically bound” container images
This module implements the design in https://github.com/bootc-dev/bootc/issues/128 for “logically bound” container images. These container images are pre-pulled (and in the future, pinned) before a new image root is considered ready.
Structs§
- Bound
Image 🔒 - A subset of data parsed from a
.imageor.containerfile with the minimal information necessary to fetch the image. - Resolved
Bound 🔒Image
Constants§
- BOUND_
IMAGE_ 🔒DIR - The path in a root for bound images; this directory should only contain
symbolic links to
.containeror.imagefiles.
Functions§
- parse_
container_ 🔒file - parse_
image_ 🔒file - parse_
spec_ 🔒value - Given a string, parse it in a way similar to how systemd would do it.
The primary thing here is that we reject any “specifiers” such as
%aetc. We do allow a quoted%%to appear in the string, which will result in a single unquoted%. - pull_
bound_ 🔒images - Given a deployment, pull all container images it references.
- pull_
images 🔒 - pull_
images_ 🔒impl - query_
bound_ 🔒images - query_
bound_ 🔒images_ for_ deployment