Creating and starting fast-start container images
AssigneeInternational Business Machines Corporation
InventorsHai Huang, Jia Jun Brandon Lum, Alaa Youssef
Life of this patent
Estimating the term…
Abstract
Aspects of the invention include creating and starting fast-start container images. A preview image of a container is received at a host computer. The preview image includes a subset of an original image of the container. The preview image of the container is executed, at the host computer, for a workload. Based at least in part on detecting a fault during the executing of the preview image of the container, one of the original image of the container and a portion of the original image not included in the preview image of the container is accessed for continuing execution of the workload.
Claims14
A computer-implemented method comprising:
- receiving, at a host computer, a preview image of a container, the preview image comprising a subset of an original image of the container;
- executing, at the host computer, the preview image of the container for a workload;
- receiving in a background mode, at the host computer, subsequent to receiving the preview image of the container, a portion of the original image of the container that does not include the subset of the original image of the container included in the preview image, wherein the portion combined with the subset is the original image;
- and
- based at least in part on detecting a fault during the executing of the preview image of the container, accessing, for continuing execution of the workload, the portion of the original image of the container that does not include the subset of the original image of the container included in the preview image of the container.
A system comprising:
- a memory having computer readable instructions;
- and
- one or more processors for executing the computer readable instructions, the computer readable instructions controlling the one or more processors to perform operations comprising:
- receiving, at a host computer, a preview image of a container, the preview image comprising a subset of an original image of the container;
- executing, at the host computer, the preview image of the container for a workload;
- receiving in a background mode, at the host computer, subsequent to receiving the preview image of the container a portion of the original image of the container that does not include the subset of the original image of the container included in the preview image, wherein the portion combined with the subset is the original image;
- and
- based at least in part on detecting a fault during the executing of the preview image of the container, accessing, for continuing execution of the workload, the portion of the original image of the container that does not include the subset of the original image of the container included in the preview image of the container.
A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform operations comprising:
- receiving, at a host computer, a preview image of a container, the preview image comprising a subset of an original image of the container;
- executing, at the host computer, the preview image of the container for a workload;
- receiving in a background mode, at the host computer, subsequent to receiving the preview image of the container a portion of the original image of the container that does not include the subset of the original image of the container included in the preview image, wherein the portion combined with the subset is the original image;
- and
- based at least in part on detecting a fault during the executing of the preview image of the container, accessing, for continuing execution of the workload, the portion of the original image of the container that does not include the subset of the original image of the container included in the preview image of the container.
Dependencies are inferred from the claim text.