Container recovery
AssigneeInternational Business Machines Corporation
InventorsPing Xiao, Xin Zhou, Cheng Cheng Dong, Yu Long Tong, Zhen Zhang
Life of this patent
Estimating the term…
Abstract
A processor initiates a run of a target container in a distributed computing environment. A processor detects at least one error occurring during the initiation of the target container. A processor determines at least one fix image based on the at least one error. A processor performs an error recovery of the target container based on the at least one fix image. A processor runs, in response to successfully performing the error recovery of the target container, the target container in the distributed computing environment.
Claims17
A method comprising:
- initiating, by one or more processors, a run of a target container in a distributed computing environment;
- detecting, by the one or more processors, at least one error occurring during the initiation of the target container;
- determining, by the one or more processors, at least one fix image based, at least in part, on the at least one error;
- performing, by the one or more processors, an error recovery of the target container based on the at least one fix image, wherein performing the error recovery of the target container further comprises:
- initiating, by the one or more processors, a fix container based on the fix image, wherein the fix container creates a child container to the target container in a container hierarchy;
- and
- in response to a determination that the fix container corrects the at least one error occurring during the initiation of the target container, updating, by the one or more processors, at least part of the target container using the fix container;
- and
- running, by the one or more processors, in response to successfully performing the error recovery of the target container, the target container in the distributed computing environment.
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 initiate a run of a target container in a distributed computing environment;
- program instructions to detect at least one error occurring during the initiation of the target container;
- program instructions to determine at least one fix image based, at least in part, on the at least one error;
- program instructions to perform an error recovery of the target container based on the at least one fix image, wherein program instructions to perform the error recovery of the target container further comprises:
- program instructions to initiate a fix container based on the fix image, wherein the fix container creates a child container to the target container in a container hierarchy;
- and
- in response to a determination that the fix container corrects the at least one error occurring during the initiation of the target container, program instructions to update at least part of the target container using the fix container;
- and
- program instructions to run, in response to successfully performing the error recovery of the target container, the target container in the distributed computing environment.
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 initiate a run of a target container in a distributed computing environment;
- program instructions to detect at least one error occurring during the initiation of the target container;
- program instructions to determine at least one fix image based, at least in part, on the at least one error;
- program instructions to perform an error recovery of the target container based on the at least one fix image, wherein program instructions to perform the error recovery of the target container further comprises:
- program instructions to initiate a fix container based on the fix image, wherein the fix container creates a child container to the target container in a container hierarchy;
- and
- in response to a determination that the fix container corrects the at least one error occurring during the initiation of the target container, program instructions to update at least part of the target container using the fix container;
- and
- program instructions to run, in response to successfully performing the error recovery of the target container, the target container in the distributed computing environment.
Dependencies are inferred from the claim text.