Dynamic Container Image Composition Using File Mapping Tables
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Deploying container images in low-resource computing environments, such as smartphones and IoT devices, is challenging due to their large size, leading to significant deployment delays, and existing techniques like VHDs occupy storage space and cause unreliable errors, while dynamic image generation incurs high build times and costs.
Innovation Solution
Implementing a bind filter with a mapping table to dynamically identify and facilitate access to additional files and components, eliminating the need for VHDs and reducing container image sizes by storing reparse points in memory, allowing flexible deployment and updates.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If static image composition is used for container deployment, then deployment process is simple and fast, but it cannot reflect real-time container status changes
Solution Approach 1:
The patent implements dynamic image composition by automatically generating deployment manifests that reflect real-time container status. The system continuously monitors container runtime status and dynamically updates the deployment image composition, transforming a static deployment process into a dynamic one that adapts to changing container states without requiring complex manual intervention.
Solution Approach 2:
The system establishes a feedback loop where container status information is continuously collected from the runtime environment and fed back into the image composition process. This feedback mechanism enables the deployment system to automatically adjust the deployment manifest based on actual container status, achieving real-time adaptability while maintaining automated feedback-driven updates.
2Manufacturing precision
If manual image composition adjustment is performed, then deployment accuracy can be improved, but deployment time and operational complexity increase significantly
Solution Approach 1:
The system implements self-service automation where the deployment manifest is automatically generated and updated based on container status without requiring manual intervention. The automated image composition process extracts container status information, processes it through templates, and generates updated manifests autonomously, eliminating manual adjustment steps while maintaining deployment accuracy.
Solution Approach 2:
The patent employs preliminary action by pre-configuring image composition templates that define the structure and parameters of deployment manifests. These templates are prepared in advance with all necessary configuration elements, allowing the system to rapidly generate accurate deployment manifests by simply filling in actual container status data, thereby reducing both deployment time and operational complexity.
3Adaptability or versatility
If dynamic image composition is implemented, then real-time container status can be reflected, but system complexity increases
Solution Approach 1:
The system segments the image composition process into distinct modular components: container status collection, status processing, template rendering, and manifest generation. Each component handles a specific aspect of the dynamic composition process independently, reducing overall system complexity by breaking down the complex dynamic update mechanism into manageable, loosely-coupled modules that can be maintained and updated separately.
Solution Approach 2:
The patent introduces an intermediary image composition engine that acts as a mediator between container runtime status and deployment manifests. This intermediary layer processes raw container status information and transforms it into structured deployment configurations using templates, simplifying the complexity by providing a standardized interface that decouples the status collection and manifest generation processes.
Data Source
Figure 1
Figure 2A
Figure 2B
AI summary
Computing systems, devices, and methods of dynamic image composition for container deployment are disclosed herein. One example technique includes receiving a request for accessing a file from a container process. In response to receiving the request, the technique includes querying a mapping table corresponding to the container process to locate an entry corresponding to a file identifier of the requested file. The entry also includes data identifying a file location on the storage device from which the requested file is accessible. The technique further includes retrieving a copy of the requested file according to the file location identified by the data in the located entry in the mapping table and providing the retrieved copy of the requested file to the container process, thereby allowing the container process to access the requested file.