Container image management
AssigneeInternational Business Machines Corporation
InventorsLu Yan Li, Zhan Peng Huo, Fei Tan, Jiu Chang Du
Life of this patent
Estimating the term…
Abstract
Methods, systems, and computer program products for container image management are disclosed. In a method, a first group of operations that are performed in respective layers in a base image are obtained. A second group of operations that are performed in respective layers not comprised in the base image are obtained. The second group of operations are optimized based on a comparison between the first and second groups of operations. A destination container image is generated based on the optimized second group of operations and the base image.
Claims20
A method comprising:
- obtaining, by one or more processors, a first group of operations that are performed in respective layers comprised in a base image;
- obtaining, by one or more processors, a second group of operations that are performed in respective layers not comprised in the base image;
- optimizing, by one or more processors, the second group of operations based on a comparison between the first and second groups of operations;
- and
- generating, by one or more processors, a destination container image based on the optimized second group of operations and the base image.
A computer program product comprising:
- one or more computer-readable storage media and program instructions stored on the one or more computer-readable storage media, the program instructions comprising:
- program instructions to obtain a first group of operations that are performed in respective layers comprised in a base image;
- program instructions to obtain a second group of operations that are performed in respective layers not comprised in the base image;
- program instructions to optimize the second group of operations based on a comparison between the first and second groups of operations;
- and
- program instructions to generate a destination container image based on the optimized second group of operations and the base image.
A computer system comprising:
- one or more computer processors;
- one or more computer readable storage media;
- and
- program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising:
- program instructions to obtain a first group of operations that are performed in respective layers comprised in a base image;
- program instructions to obtain a second group of operations that are performed in respective layers not comprised in the base image;
- program instructions to optimize the second group of operations based on a comparison between the first and second groups of operations;
- and
- program instructions to generate a destination container image based on the optimized second group of operations and the base image.
Dependencies are inferred from the claim text.