IP Library Granted Patent US 12675288
Granted Patent B2
US 12675288 · App. 18/408,426 · Granted Jul 7, 2026

Prepopulated container images repositories for CI/CD environments

Inventors: Andrea Tarocchi (Milan, IT); Paolo Antinori (Milan, IT)
Assignee: Red Hat, Inc.
G06F8/71
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12675288
App. No.
18/408,426
Granted
Jul 7, 2026
Kind
B2
Abstract

A method is described that includes executing a container image that is configured as an image repository mirror for a remote server and executing an application that is configured to provide a request for one or more images to the remote server. The method further includes reconfiguring the application to cause the application to provide the request for the one or more images to the container image instead of the remote server.

Claims (60)

1 . A method comprising:

executing a container image that is configured as an image repository mirror for a remote server, wherein the container image is further configured to generate a copy of the container image when the container image comprises a full set of images;

executing, by a processing device, an application that is configured to provide a request for one or more images to the remote server;

reconfiguring the application to cause the application to provide the request for the one or more images to the container image instead of the remote server;

populating the container image by appending a newer version of a first image retrieved from the remote server as a last layer of the container image such that an older version of the first image is retained in one of previous layers of the container image, thereby to cause the container image to determine that the container image comprises the full set of images and generate the copy of the container image; and

serving the newer version of the first image to a different server by attaching the copy of the container image to an ad-hoc registry instance of the different server,

wherein the ad-hoc registry instance is instantiated in a continuous integration or deployment (CI/CD) environment, and the copy of the container image is configured to serve the full set of images across multiple application executions in the CI/CD environment.

2 . The method of claim 1 , further comprising executing a plurality of commands of a text document to generate the container image that is configured as the image repository mirror for the remote server, wherein the container image comprises a plurality of image layers that are each respectively associated with a command of the plurality of commands.

3 . The method of claim 1 , further comprising:

determining an absence of the one or more images in the container image;

retrieving the one or more images; and

providing the one or more images retrieved to the application.

4 . The method of claim 1 , further comprising:

storing the one or more images in one or more volumes of the container image.

5 . The method of claim 1 , further comprising:

determining the full set of images associated with the execution of the application by the processing device;

determining an absence of a subset of images of the full set of images in the container image;

retrieving, responsive to determining the absence of the subset of images, the subset of images from the remote server; and

storing the subset of images in one or more volumes of the container image such that the container image includes the full set of images.

6 . The method of claim 1 , further comprising:

configuring the container image as the image repository mirror for the remote server by mounting a directory of a file system associated with a local storage of the processing device in the container image.

7 . The method of claim 1 , further comprising:

configuring the application to direct the request for the one or more images to the container image instead of the remote server.

8 . The method of claim 1 , further comprising:

generating the container image based on an empty registry image.

9 . A system comprising:

a memory; and

a processing device, operatively coupled to the memory, to:

execute a container image that is configured as an image repository mirror for a remote server, wherein the container image is further configured to generate a copy of the container image when the container image comprises a full set of images;

execute an application that is configured to provide a request for one or more images to the remote server;

reconfigure the application to cause the application to provide the request for the one or more images to the container image instead of the remote server;

populate the container image by appending a newer version of a first image retrieved from the remote server as a last layer of the container image such that an older version of the first image is retained in one of previous layers of the container image, thereby to cause the container image to determine that the container image comprises the full set of images and generate the copy of the container image; and

serve the newer version of the first image to a different server by attaching the copy of the container image to an ad-hoc registry instance of the different server;

wherein the ad-hoc registry instance is instantiated in a continuous integration or deployment (CI/CD) environment, and the copy of the container image is configured to serve the full set of images across multiple application executions in the CI/CD environment.

10 . The system of claim 9 , wherein the processing device is further to:

execute a plurality of commands of a text document to generate the container image that is configured as the image repository mirror for the remote server, wherein the container image comprises a plurality of image layers that are each respectively associated with a command of the plurality of commands.

11 . The system of claim 9 , wherein the processing device is further to:

determine an absence of the one or more images in the container image;

retrieve the one or more images; and

provide the one or more images retrieved to the application.

12 . The system of claim 9 , wherein the processing device is further to:

store the one or more images in one or more volumes of the container image.

13 . The system of claim 9 , wherein the processing device is further to:

determine the full set of images associated with the execution of the application by the processing device;

determine an absence of a subset of images of the full set of images in the container image;

retrieve, responsive to determining the absence of the subset of images, the subset of images from the remote server; and

store the subset of images in one or more volumes of the container image such that the container image includes the full set of images, wherein the processing device executes the application after storing the subset of images in the one or more volumes of the container image.

14 . The system of claim 9 , wherein the processing device is further to:

configure the container image as the image repository mirror for the remote server by mounting a directory of a file system associated with a local storage of the processing device in the container image.

15 . The system of claim 9 , wherein the processing device is further to:

configure the application to direct the request for the one or more images to the container image instead of the remote server.

16 . The system of claim 9 , wherein the processing device is further to:

generate the container image based on an empty registry image.

17 . A non-transitory computer-readable medium storing instructions that, when executed by a processing device, cause the processing device to:

execute a container image that is configured as an image repository mirror for a remote server, wherein the container image is further configured to generate a copy of the container image when the container image comprises a full set of images;

execute, by the processing device, an application that is configured to provide a request for one or more images to the remote server;

reconfigure the application to cause the application to provide the request for the one or more images to the container image instead of the remote server;

populate the container image by appending a newer version of a first image retrieved from the remote server as a last layer of the container image such that an older version of the first image is retained in one of previous layers of the container image, thereby to cause the container image to determine that the container image comprises the full set of images and generate the copy of the container image; and

serve the newer version of the first image to a different server by attaching the copy of the container image to an ad-hoc registry instance of the different server;

wherein the ad-hoc registry instance is instantiated in a continuous integration or deployment (CI/CD) environment, and the copy of the container image is configured to serve the full set of images across multiple application executions in the CI/CD environment.