Container Registry Layer Inspection and Garbage Collection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current software container systems lack effective revision control, efficient storage resource utilization, and adequate security vulnerability scanning, leading to potential security risks and inefficiencies in managing and deploying containerized software images.

Innovation Solution

A container registry system that enables efficient storage and management of container images as layers, with features like garbage collection, security sweeps, and predictive caching, along with token-based authentication and automated build and deployment services, to improve revision control, storage efficiency, and security.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If container images are stored as complete copies, then retrieval speed is improved, but storage resource utilization deteriorates

Engineering Contradiction:
Improvecontainer image retrieval speedVSAvoidstorage resource utilization
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent segments container images into layered components (filesystem layers, configuration layers, metadata layers) that can be independently stored, managed, and retrieved. This allows the registry to store only unique layers across multiple images rather than complete copies, reducing storage requirements while maintaining fast retrieval through selective layer assembly.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements a nested layer structure where container images are composed of nested filesystem layers, with each layer containing specific files and directories. This nested organization enables efficient storage by sharing common base layers across multiple images and only storing unique differences, thereby optimizing storage resource utilization without sacrificing retrieval performance.

Inventive Principle:
Principle #7Nested doll (Nesting)

2Reliability

If security scanning is performed on all container images, then security vulnerability detection is improved, but processing time deteriorates

Engineering Contradiction:
Improvesecurity vulnerability detectionVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs security scanning on container images during the image build and push process, before the images are deployed to production environments. This preliminary security validation ensures that vulnerable images are identified and blocked before they can cause security issues, while the automated nature of the scanning minimizes the time impact on the overall deployment process.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary security scanning service that acts as a mediator between the container registry and the deployment system. This intermediary service handles the computationally intensive security analysis separately, allowing the main registry system to remain responsive while comprehensive security checks are performed on container images through automated vulnerability databases and static analysis tools.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Ease of operation

If revision control is implemented for container images, then version management is improved, but system complexity deteriorates

Engineering Contradiction:
Improveversion managementVSAvoidsystem complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent implements a universal tagging system that serves multiple functions: version identification, image classification, deployment targeting, and security policy application. This multi-functional tagging approach provides comprehensive revision control capabilities without requiring separate complex version management systems, as the same tags are used across different operational contexts.

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

Solution Approach 2:

The patent uses metadata copying and inheritance mechanisms where container image metadata including version information, tags, and revision history are automatically copied and maintained across image variants. This automated metadata management provides robust revision control through simple copy operations rather than complex version control workflows.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS10032032B2Software container registry inspection
Publication Date: 2018.07.24 AMAZON TECH INC
  • US10032032B2 patent drawing
  • US10032032B2 patent drawing
  • US10032032B2 patent drawing

AI summary

A request to a scan a software image for specified criteria is received, the software image comprising layers stored in a first data store. Metadata in a second data store, different from the first data store, is searched through to obtain information corresponding to the software image. A first set of the layers that matches the specified criteria is determined, based at least in part on the information. The first set of layers is marked as un-referenceable. Asynchronous to fulfillment of the request, a second set of layers of the layers to be deleted is determined, based at least in part on the metadata, the second set of layers including layers marked as un-referenceable, and the second set of layers is deleted.