Recovering layers of a container
AssigneeInternational Business Machines Corporation
InventorsXiao Ling Chen, Si Yu Chen, Wen Ji Huang, Hao Wu, Wen Qi WQ Ye
Life of this patent
Estimating the term…
Abstract
Examples described herein provide a computer-implemented method that includes downloading a container image from an image repository. The method further includes deploying the container image as a container at a local graph. The method further includes identifying an image layer of the container image of the container as having a patch in error. The method further includes performing at least one of recovering and rebasing the image layer having the patch in error without redeploying the container image at the local graph or restarting a service running the container.
Claims17
A computer-implemented method comprising:
- downloading a container image from an image repository;
- deploying the container image as a container at a local graph;
- identifying an image layer of the container image of the container as having a patch in error;
- and
- performing at least one of recovering and rebasing the image layer having the patch in error without redeploying the container image at the local graph or restarting a service running the container or the container,
- wherein rebasing the image layer comprises relocating a difference property for the image layer having the patch in error to a diff-rebase folder within a diff-relocation storage level, the diff-relation storage level comprising the diff-rebase folder and a diff-removal folder for managing layer versions and masking erroneous layers.
A system comprising:
- a memory comprising computer readable instructions;
- and
- a processing device for executing the computer readable instructions, the computer readable instructions controlling the processing device to perform operations comprising:
- downloading a container image from an image repository;
- deploying the container image as a container at a local graph;
- identifying an image layer of the container image of the container as having a patch in error;
- and
- performing at least one of recovering and rebasing the image layer having the patch in error without redeploying the container image at the local graph or restarting a service running the container or the container,
- wherein rebasing the image layer comprises relocating a difference property for the image layer having the patch in error to a diff-rebase folder within a diff-relocation storage level, the diff-relation storage level comprising the diff-rebase folder and a diff-removal folder for managing layer versions and masking erroneous layers.
A computer program product comprising:
- a set of one or more computer-readable storage media;
- program instructions, collectively stored in the set of one or more storage media, for causing a processor set to perform the following computer operations:
- downloading a container image from an image repository;
- deploying the container image as a container at a local graph;
- identifying an image layer of the container image of the container as having a patch in error;
- and
- performing at least one of recovering and rebasing the image layer having the patch in error without redeploying the container image at the local graph or restarting a service running the container or the container,
- wherein rebasing the image layer comprises relocating a difference property for the image layer having the patch in error to a diff-rebase folder within a diff-relocation storage level, the diff-relation storage level comprising the diff-rebase folder and a diff-removal folder for managing layer versions and masking erroneous layers.
Dependencies are inferred from the claim text.