Container Engine Policy Validation Before Isolation Container Creation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users face security risks when using Docker, such as attacks on client environments due to running suspicious containers, leading to privacy disclosure and file loss.

Innovation Solution

A data processing method and apparatus that involve acquiring creation dependency resource information for an isolation container, performing validity verification using a valid policy file, and creating the container only if the verification is valid, thereby preventing the execution of potentially malicious containers.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If Docker containerization is used to enable flexible service deployment, then service scalability and deployment flexibility are improved, but security risks increase due to potential attacks from suspicious containers

Engineering Contradiction:
Improveservice deployment flexibilityVSAvoidsecurity risks
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The patent performs validity verification on container creation dependency resource information before the container is actually created. By checking the policy file in advance and validating resource information (images, volumes, networks, etc.) before container instantiation, the system prevents malicious containers from being deployed, thus resolving the security risk while maintaining deployment flexibility.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If containers are created without validation to maintain deployment speed, then productivity is improved, but security reliability deteriorates due to potential malicious container execution

Engineering Contradiction:
Improvecontainer deployment speedVSAvoidcontainer security
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The verification process is performed during the container creation phase, checking policy compliance before the container actually runs. This preliminary validation ensures that security checks are integrated into the deployment workflow itself, not as a separate bottleneck, thereby maintaining productivity while improving reliability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a policy file as an intermediary that mediates between the container creation request and the actual container instantiation. The policy file contains pre-defined security rules and resource constraints that automatically validate container creation parameters, providing a systematic way to ensure security without manual intervention and maintaining deployment speed.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If validity verification is performed on all container creation requests, then security reliability is improved, but device complexity increases due to additional verification mechanisms

Engineering Contradiction:
Improvecontainer creation securityVSAvoidverification system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The verification system uses a policy file that is self-contained and contains all the rules needed for validation. The system automatically reads and applies these rules without requiring complex external verification services or manual security configurations. This self-service approach reduces the complexity of the verification mechanism while maintaining high security reliability.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent validates container creation by checking specific parameters (image names, volume mounts, network configurations, etc.) against the policy file rules. By focusing verification on key parameters rather than performing comprehensive system-wide checks, the complexity of the verification process is reduced while still achieving high security reliability.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12443430B2Data processing method based on container engine and related device
Publication Date: 2025.10.14 TENCENT CLOUD COMPUTING (BEIJING) CO LTD
  • US12443430B2 patent drawing
  • US12443430B2 patent drawing
  • US12443430B2 patent drawing

AI summary

A data processing method based on a container engine and a related device are provided. The data processing method includes: acquiring, in response to a creation request for an isolation container, creation dependency resource information of the isolation container; performing validity verification on the creation dependency resource information based on a valid policy file of a container engine corresponding to the isolation container, to obtain a validity verification result of the isolation container; and creating the isolation container when the validity verification result is a valid result.