Containers
makeContainerImage
Build a container image in OCI Format.
A container image is composed of:
- 0 or more layers (binary blobs).
- Each layer contains a snapshot of the root file system (
/), they represent portions of it. - When the container is executed
all layers are squashed together
to compose the root
of the file system (
/).
- Each layer contains a snapshot of the root file system (
- A JSON manifest (metadata) that describes important aspects of the container, for instance its layers, environment variables, entrypoint, etc.
Resources:
Types:
- makeContainerImage (
function { ... } -> package):- layers (
listOf package): Optional. Layers of the container. Defaults to[ ]. - maxLayers (
ints.positive): Optional. Maximum number of layers the container can have. Defaults to65. - config (
attrsOf anything): Optional. Configuration manifest as described in OCI Runtime Configuration Manifest Defaults to{ }.
- layers (
Example: