Container Image Storage via Disk Image Layer File

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Operating systems like MAC OS do not support union mount operations and have case-insensitive file systems, which can lead to file loss when trying to store case-sensitive container files directly on the host operating system.

Innovation Solution

The method involves creating a disk image file that supports case-sensitive file names and combining the layers of a container image into this file, allowing for native storage of container images on host operating systems without relying on union mount operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If container files are stored directly on the host operating system file system, then storage simplicity is improved, but file loss occurs due to case-insensitivity

Engineering Contradiction:
Improvestorage simplicityVSAvoidfile integrity
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

A virtual file system layer is introduced between the host operating system and the container files. This virtual file system provides case-sensitive file name handling while the underlying host file system remains case-insensitive, preventing file loss and ensuring proper container execution.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The file system case sensitivity parameter is changed at the virtual file system level. The virtual file system is configured to treat file names as case-sensitive, thereby resolving the conflict with the host operating system's case-insensitive file system while maintaining storage simplicity.

Inventive Principle:
Principle #35Parameter changes

2Device complexity

If union mount operations are used to combine container layers, then container image storage is simplified, but the solution becomes incompatible with operating systems that do not support union mounts

Engineering Contradiction:
Improvecontainer image storage complexityVSAvoidoperating system compatibility
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The virtual file system acts as an intermediary that implements union mount functionality without requiring the host operating system to support native union mounts. This allows containers to be properly configured with multiple layers on operating systems like macOS that lack union mount support.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The virtual file system provides multiple functions: it enables case-sensitive file names, implements union mount semantics, and maintains compatibility with the host operating system's file system limitations. This multi-functional approach resolves both the case sensitivity and union mount compatibility issues.

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

Data Source

PatentUS20250124006A1System to support native storage of a container image on a host operating system for a container running in a virtual machine
Publication Date: 2025.04.17 VMWARE INC
  • US20250124006A1 patent drawing
  • US20250124006A1 patent drawing
  • US20250124006A1 patent drawing

AI summary

Described herein are a system and method for forming a container image. The system and method include obtaining a first layer of a plurality of layers of the container image. The contents of the first layer are stored in a directory such that a first disk image layer file is mounted to the directory. A second layer of the plurality of layers is obtained, and the contents of the second layer are stored in the directory so that the first disk image layer includes contents of the first layer and the second layer. The first disk image layer is saved and is mountable and includes files of the container image.