US 12,333,289 B2
Container image optimization for a selected deployment environment
Ashok Pon Kumar Sree Prakash, Bangalore (IN); Padmanabha Venkatagiri Seshadri, Mysore (IN); Harikrishnan Balagopal, Thrissur (IN); and Akash Nayak, Raipur (IN)
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION, Amork, NY (US)
Filed by INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed on Jun. 10, 2022, as Appl. No. 17/806,320.
Prior Publication US 2023/0401050 A1, Dec. 14, 2023
Int. Cl. G06F 8/61 (2018.01); G06F 9/455 (2018.01)
CPC G06F 8/63 (2013.01) [G06F 9/45558 (2013.01); G06F 2009/45562 (2013.01); G06F 2009/4557 (2013.01)] 25 Claims
OG exemplary drawing
 
1. A computer program product for facilitating processing within a computing environment, said computer program product comprising:
one or more computer readable storage media and program instructions collectively stored on the one or more computer readable storage media readable by at least one processing circuit to perform a method comprising:
obtaining an indication of a plurality of container images to be deployed in a deployment to provide a plurality of services within the computing environment, the plurality of container images of the deployment having a total layer size of a plurality of image layers of the plurality of container images; and
reconfiguring at least one container image of the plurality of container images to adjust the total layer size for the deployment, the reconfiguring being based on one or more deployment characteristics of the deployment and including replacing one image layer of a container image of the at least one container image with another image layer configured based on the plurality of container images to be deployed, wherein the another image layer is configured to optimize the deployment, and includes a same directive compared to the one image layer and an additional directive compared to the one image layer, the additional directive being a new addition to the container image of the at least one container image, the another image layer having a size greater than a size of the one image layer, and wherein the reconfiguring reduces the total layer size for the deployment by, at least, replacing the one image layer with the another image layer.