Dynamic Library Mounting in Session Containers
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional container images face difficulties in real-time updating of individual libraries or adding new libraries, requiring a rebuild of the entire image, which is inefficient and inconvenient.
Innovation Solution
A method for mounting and executing user-requested libraries in a session container using library containers and a container catalog, where the node controller searches for compatible library containers, generates a session container, and statically builds executable files to ensure compatibility and flexibility.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If individual libraries are separately updated or additional libraries are needed in conventional container images, then the container image must be rebuilt from scratch, but this process is time-consuming and inefficient
Solution Approach 1:
The patent segments the container image into two independent parts: the base container image and separate library containers. This segmentation allows individual libraries to be updated or added by modifying only the library container portion, rather than rebuilding the entire container image. The base image remains unchanged while libraries are dynamically added through bind mounts, resolving the contradiction between update efficiency and rebuild time.
2Adaptability or versatility
If all libraries are bundled in a conventional container image, then distribution convenience is guaranteed, but real-time updates and additions of libraries are difficult
Solution Approach 1:
The patent implements a nested structure where library containers are embedded within the base container image through bind mounts. The library containers act as nested components that can be independently updated, added, or removed without affecting the base image. This nesting approach provides real-time library updates while maintaining a relatively simple overall container structure through the use of mount namespaces.
Data Source
AI summary
A method for providing a session container mounted with a plurality of libraries requested by a user. The method includes: in response to receiving a container execution request from the user, searching for a library container in a container catalog by a node controller; checking, by the node controller, whether a session container to be mounted with a library in the library container and the library container are compatible; and when the session container to be mounted with the library in the library container and the library container are compatible, generating, by a container engine, a session container mounted with the library in the library container.


