Container Source
Use the Container source for blueprints you build as container images and publish to registries like docker.io.
Container sources are also the only TEE-eligible artifact source on the current Tangle manager path. If you want to
allow or require TEE execution, keep using Container and declare the confidentiality policy in blueprint metadata. See
Execution Confidentiality.
Requirements
See the container source requirements for running containerized blueprints.
Format
The Container source has the following format:
pub struct ContainerSource {
pub registry: String,
pub image: String,
pub tag: String,
}Where:
registry- The registry to pull the image from (e.g.,docker.io)image- The name of the image (e.g.,some-user/my-blueprint)tag- The release tag of the image (e.g.,latest)
Specify them in your binary crate’s manifest:
[package.metadata.blueprint]
sources = [
{ type = "Container", registry = "docker.io", image = "some-user/my-blueprint", tag = "latest" }
]