Automated container size reduction
AssigneeRed Hat, Inc.
InventorsGabriel Zvi BenHanokh, Orit Wasserman
Life of this patent
Estimating the term…
Abstract
A container image is received, the container image including a container manifest referencing a first base operating system layer and an application layer. An execution compatibility is determined between the application layer and a second base operating system layer, different from the first operating system layer. An updated container image, an updated container manifest, or the updated container image and the updated container manifest is generated in which the first base operating system layer is replaced with the second base operating system layer.
Claims20
A method comprising:
- receiving a container image, the container image comprising a container manifest referencing a first base operating system layer and an application layer;
- determining, by a processing device, an execution compatibility between the application layer and a second base operating system layer, different from the first base operating system layer;
- and
- responsive to determining the execution compatibility between the application layer and the second base operating system layer, generating an updated container image, an updated container manifest, or the updated container image and the updated container manifest in which the first base operating system layer is replaced with the second base operating system layer.
A system comprising:
- a memory;
- and
- a processing device, operatively coupled to the memory, to:
- receive a container image, the container image comprising a container manifest referencing a first base operating system layer and an application layer;
- determine an execution compatibility between the application layer and a second base operating system layer, different from the first base operating system layer;
- and
- responsive to determining the execution compatibility between the application layer and the second base operating system layer, generate an updated container image, an updated container manifest, or the updated container image and the updated container manifest in which the first base operating system layer is replaced with the second base operating system layer.
A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:
- receive a container image, the container image comprising a container manifest referencing a first base operating system layer and an application layer;
- determine, by the processing device, an execution compatibility between the application layer and a second base operating system layer, different from the first base operating system layer;
- and
- responsive to determining the execution compatibility between the application layer and the second base operating system layer, generate an updated container image, an updated container manifest, or the updated container image and the updated container manifest in which the first base operating system layer is replaced with the second base operating system layer.
Dependencies are inferred from the claim text.