Dynamic Library Mounting in Session Containers

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improvelibrary update efficiencyVSAvoidrebuild time
Core Design Contradiction:
ProductivityVSLoss of time

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.

Inventive Principle:
Principle #1Segmentation

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

Engineering Contradiction:
Improvelibrary update flexibilityVSAvoidcontainer structure complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

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.

Inventive Principle:
Principle #7Nested doll (Nesting)

Data Source

PatentUS11144343B1Method of providing session container mounted with plurality of libraries requested by user
Publication Date: 2021.10.12 LABLUP INC
  • US11144343B1 patent drawing
  • US11144343B1 patent drawing
  • US11144343B1 patent drawing

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.