Virtual Image Manifests for Reusable Container Layers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing container image generation methods require building and copying whole images even when individual layers are identical, leading to inefficiencies and resource wastage due to unique hashes and lack of layer sharing.

Innovation Solution

A virtual image server generates image manifests on the fly, referencing existing layers with unique identifiers, allowing sharing and reuse of image files without rebuilding, and ensuring the latest versions are used.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If container images are built layer by layer with unique hashes for each layer, then each layer can be uniquely identified and tracked, but the entire image must be copied even when individual layers are identical, leading to resource wastage

Engineering Contradiction:
Improvelayer identification precisionVSAvoidcopying resource consumption
Core Design Contradiction:
Measurement precisionVSLoss of energy

Solution Approach 1:

The container image is segmented into independent layers, each with its own unique hash. The system identifies matching layers between images and transfers only the differing segments (layers), rather than copying entire images. This segmentation allows selective transfer of only the necessary portions.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of copying entire container images, the system creates references to shared layers. When layers are identical, they are referenced rather than copied, reducing network transfer and storage requirements while maintaining the ability to uniquely identify and track each layer through its hash.

Inventive Principle:
Principle #26Copying

2Adaptability or versatility

If whole container images are copied instead of individual layers, then layer sharing between images is enabled, but redundant downloads and resource usage increase significantly

Engineering Contradiction:
Improvelayer sharing capabilityVSAvoidimage generation efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The system segments container images into transferable layers and implements a layer sharing mechanism. Individual layers can be independently transferred and reused across multiple images, enabling layer sharing without requiring whole-image copying. This segmentation directly improves productivity by reducing redundant transfers.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary hashing of layers to identify matching layers before transfer. By pre-processing and comparing layer hashes, the system determines which layers can be shared and which need to be transferred, avoiding redundant downloads and improving image generation efficiency.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If multiple container images are maintained with specific packages, then package-specific functionality is achieved, but the number of images to maintain increases and management complexity grows

Engineering Contradiction:
Improvepackage functionalityVSAvoidimage management complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system segments container images into reusable layers, where each layer represents a specific package or set of packages. Multiple images can reference the same package layers, reducing the total number of images that need to be maintained. This segmentation enables package-specific functionality while simplifying management through layer reuse.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Package layers are designed to be universal and reusable across multiple container images. A single package layer can serve multiple images with different functionalities, reducing the number of images that need to be maintained while still providing package-specific functionality where needed. This multi-functionality reduces management complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12360756B2Automatic generation of container images
Publication Date: 2025.07.15 RED HAT LLC
  • US12360756B2 patent drawing
  • US12360756B2 patent drawing
  • US12360756B2 patent drawing

AI summary

Systems and methods for generating container images are described. An image tag comprising a set of code names is received at a virtual image server, wherein the virtual image server comprises a mapping of each code name of the set of code names to a corresponding image file. For each of the set of code names, a corresponding image file is retrieved from an image registry and an image manifest is generated by the virtual image server using the corresponding image file of each of the set of code names. The image manifest may reference the corresponding image file of each of the set of code names as a separate image layer. The virtual image server may provide the image manifest to a container host, which may build a container image based on the image manifest.