# US 2026/0093478 A1 · Container image update with deduplication

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0093478 A1
- Document ID: US20260093478A1
- Status: Published application
- Kind: A1
- Application number: 18/904,728
- Filed: 2024-10-02
- Published: 2026-04-02
- Earliest claimed: 2024-10-02
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Douglas Landgraf; Giuseppe Scrivano
- Web page: https://patentgrep.com/patent/US20260093478A1

## CPC

- G06F 8/658: Incremental updates; Differential updates
- G06F 8/63: {Image based installation; Cloning; Build to order}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 16/152: {using file content signatures, e.g. hash values}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A source container image may be replaced with a target container image that has a different number of layers. A computing device can receive an update request to generate the target container image using the source container image. Subsequently, the computing device can determine, for a particular file of the target container image, whether the source container image includes a related file. In response to determining that the source container image includes the related file, the computing device can generate a dataset corresponding to the related file. The dataset can include one or more differences between the particular file and the related file and an identifier used to locate the related file in the source container image. The computing device can generate the target container image by updating the source container image using the dataset.

## Claims

### Claim 1

A system comprising:
a processing device; and
a memory device including instructions that are executable by the processing device for causing the processing device to perform operations comprising:
receiving an update request to generate a target container image using a source container image, the source container image and the target container image comprising a different number of container layers;
determining, for a particular file of the target container image, whether the source container image comprises a related file;
in response to determining that the source container image comprises the related file, generating a dataset comprising one or more differences between the particular file and the related file and an identifier used to locate the related file in the source container image; and
generating the target container image by updating the source container image using the dataset corresponding to the related file.

### Claim 2 (depends on 1)

The system of claim 1, wherein determining whether the source container image comprises the related file further comprises:
comparing the particular file of the target container image to each file in each container layer of the source container image; and
subsequent to comparing the particular file to each file in each container layer of the source container image, determining that the source container image comprises the related file as a closest match in similarity to the particular file, wherein a similarity score between the related file and the particular file exceeds a predefined threshold.

### Claim 3 (depends on 2)

The system of claim 2, wherein the operations further comprise, subsequent to comparing the particular file of the target container image to each file in each container layer of the source container image:
determining that the related file is not present in the source container image; and
generating the target container image by adding the particular file to the source container image.

### Claim 4 (depends on 1)

The system of claim 1, wherein generating the dataset to update the related file further comprises:
determining a layer identifier specifying a particular container layer of the source container image associated with the related file;
determining a file path specifying a location of the related file in the particular container layer of the source container image; and
generating the dataset corresponding to the related file to comprise the layer identifier and the file path.

### Claim 5 (depends on 1)

The system of claim 1, wherein updating the source container image using the dataset comprises:
locating, using the identifier included in the dataset, the related file in the source container image; and
subsequent to locating the related file, generating an updated version of the related file by applying the one or more differences included in the dataset to the related file, wherein the updated version of the related file matches the particular file of the target container image.

### Claim 6 (depends on 1)

The system of claim 1, wherein the target container image is generated without access to a container registry.

### Claim 7 (depends on 1)

The system of claim 1, wherein the source container image and the target container image are compliant with an image specification of the Open Container Initiative (OCI).

### Claim 8

A method comprising:
receiving an update request to generate a target container image using a source container image, the source container image and the target container image comprising a different number of container layers;
determining, for a particular file of the target container image, whether the source container image comprises a related file;
in response to determining that the source container image comprises the related file, generating a dataset comprising one or more differences between the particular file and the related file and an identifier used to locate the related file in the source container image; and
generating the target container image by updating the source container image using the dataset corresponding to the related file.

### Claim 9 (depends on 8)

The method of claim 8, wherein determining whether the source container image comprises the related file further comprises:
comparing the particular file of the target container image to each file in each container layer of the source container image; and
subsequent to comparing the particular file to each file in each container layer of the source container image, determining that the source container image comprises the related file as a closest match in similarity to the particular file, wherein a similarity score between the related file and the particular file exceeds a predefined threshold.

### Claim 10 (depends on 9)

The method of claim 9, further comprising, subsequent to comparing the particular file of the target container image to each file in each container layer of the source container image:
determining that the related file is not present in the source container image; and
generating the target container image by adding the particular file to the source container image.

### Claim 11 (depends on 8)

The method of claim 8, wherein generating the dataset to update the related file further comprises:
determining a layer identifier specifying a particular container layer of the source container image associated with the related file;
determining a file path specifying a location of the related file in the particular container layer of the source container image; and
generating the dataset corresponding to the related file to comprise the layer identifier and the file path.

### Claim 12 (depends on 8)

The method of claim 8, wherein updating the source container image using the dataset comprises:
locating, using the identifier included in the dataset, the related file in the source container image; and
subsequent to locating the related file, generating an updated version of the related file by applying the one or more differences included in the dataset to the related file, wherein the updated version of the related file matches the particular file of the target container image.

### Claim 13 (depends on 8)

The method of claim 8, wherein the target container image is generated without access to a container registry.

### Claim 14 (depends on 8)

The method of claim 8, wherein the source container image and the target container image are compliant with an image specification of the Open Container Initiative (OCI).

### Claim 15

A non-transitory computer-readable medium comprising program code executable by a processing device for causing the processing device to perform operations comprising:
receiving an update request to generate a target container image using a source container image, the source container image and the target container image comprising a different number of container layers;
determining, for a particular file of the target container image, whether the source container image comprises a related file;
in response to determining that the source container image comprises the related file, generating a dataset comprising one or more differences between the particular file and the related file and an identifier used to locate the related file in the source container image; and
generating the target container image by updating the source container image using the dataset corresponding to the related file.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein determining whether the source container image comprises the related file further comprises:
comparing the particular file of the target container image to each file in each container layer of the source container image; and
subsequent to comparing the particular file to each file in each container layer of the source container image, determining that the source container image comprises the related file as a closest match in similarity to the particular file, wherein a similarity score between the related file and the particular file exceeds a predefined threshold.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the operations further comprise, subsequent to comparing the particular file of the target container image to each file in each container layer of the source container image:
determining that the related file is not present in the source container image; and
generating the target container image by adding the particular file to the source container image.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein generating the dataset to update the related file further comprises:
determining a layer identifier specifying a particular container layer of the source container image associated with the related file;
determining a file path specifying a location of the related file in the particular container layer of the source container image; and
generating the dataset corresponding to the related file to comprise the layer identifier and the file path.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein updating the source container image using the dataset comprises:
locating, using the identifier included in the dataset, the related file in the source container image; and
subsequent to locating the related file, generating an updated version of the related file by applying the one or more differences included in the dataset to the related file, wherein the updated version of the related file matches the particular file of the target container image.

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the target container image is generated without access to a container registry.
