US 12,093,220 B1
Controlling layers in container images to reduce redundant content between layers
Da Long Wang, Hangzhou (CN); Zhan Peng Huo, Beijing (CN); Yu Sun, Shanghai (CN); and Hong Yi Zhang, Beijing (CN)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Jun. 27, 2023, as Appl. No. 18/341,827.
Int. Cl. G06F 17/00 (2019.01); G06F 16/174 (2019.01); G06F 16/535 (2019.01)
CPC G06F 16/1756 (2019.01) [G06F 16/535 (2019.01)] 18 Claims
OG exemplary drawing
 
1. A computer implemented method for managing an image, the computer implemented method comprising:
identifying, by a number of processor units, a set of base files in a set of image layers for a candidate file in a container layer by adding a set of file names, layer identifiers, and file types for the set of base files to a comparison data structure in response to a request to create a new image with the candidate file;
identifying, by the number of processor units, delta data between the candidate file and the set of base files; and
creating, by the number of processor units, the new image with a new top image layer using the delta data identified for the candidate file in the container layer.