# US 2019/0317747 A1 · Binary restoration in a container orchestration system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0317747 A1
- Document ID: US20190317747A1
- Status: Published application
- Kind: A1
- Application number: 15/952,427
- Filed: 2018-04-13
- Published: 2019-10-17
- Earliest claimed: 2018-04-13
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Shrinivas Kulkarni; Siba Prasad Satapathy
- Web page: https://patentgrep.com/patent/US20190317747A1

## CPC

- G06F 8/61: Installation
- G06F 8/62: {Uninstallation}
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- G06F 8/658: Incremental updates; Differential updates
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The disclosed embodiments include a system, computer program product, and computer-implemented method configured to restore binaries of a container. In one embodiment, the computer-implemented method receives a container install request to install a container on a host system. The computer-implemented method determines binaries that were previously installed with the container. The computer-implemented method installs the container and the binaries that were previously installed with the container in response to the container install request.

## Claims

### Claim 1

A computer-implemented method performed for restoring binaries of a container, the computer-implemented method comprising:
receiving a container install request to install a container on a host system;
determining binaries that were previously installed with the container; and
installing the container and the binaries that were previously installed with the container in response to the container install request.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein a list of the binaries that were previously installed with the container is stored in an external volume of the host system.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising logging installation details of the binaries that are installed with the container in a log.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein installing the binaries that were previously installed with the container comprises:
determining whether a package is stored in a local repository of the host system; and
responsive to a determination that the package is stored in the local repository of the host system, installing the package using the package stored in the local repository of the host system.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising:
responsive to a determination that the package is not stored in the local repository of the host system, downloading the package from an external repository; and
installing the package using the downloaded package.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, further comprising storing the downloaded package in the local repository of the host system.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving a package uninstall request to uninstall a package after the container has been installed on the host system;
uninstalling the package from the container;
removing the package from a list of the binaries that are installed with the container; and
logging uninstall details of the package in a log.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving a package install request to install a package after the container has been installed on the host system;
installing the package with the container;
adding the package to a list of the binaries that are installed with the container; and
logging installation details of the package in a log.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, further comprising:
determining whether the package is stored in a local repository of the host system;
responsive to a determination that the package is stored in the local repository of the host system, installing the package using the package stored in the local repository of the host system;
responsive to a determination that the package is not stored in the local repository of the host system, downloading the package from an external repository;
installing the package using the downloaded package; and
storing the downloaded package in the local repository of the host system.

### Claim 10

A system configured to restore binaries of a container, the system comprising memory for storing instructions, and a processor configured to execute the instructions to:
receive a container install request to install a container on a host system;
determine binaries that were previously installed with the container; and
install the container and the binaries that were previously installed with the container in response to the container install request.

### Claim 11 (depends on 10)

The system of claim 10, wherein the processor further executes instructions to:
determine whether a package is stored in a local repository of the host system; and
install the package using the package stored in the local repository of the host system in response to a determination that the package is stored in the local repository of the host system.

### Claim 12 (depends on 10)

The system of claim 10, wherein the processor further executes instructions to:
determine whether a package is stored in a local repository of the host system;
download the package from an external repository in response to a determination that the package is not stored in the local repository of the host system;
install the package using the downloaded package; and
store the downloaded package in the local repository of the host system.

### Claim 13 (depends on 10)

The system of claim 10, wherein the processor further executes instructions to:
receive a package install request to install a package after the container has been installed on the host system;
install the package with the container;
add the package to a list of the binaries that are installed with the container; and
log installation details of the package in a log.

### Claim 14 (depends on 10)

The system of claim 10, wherein the processor further executes instructions to:
receive a package uninstall request to uninstall a package after the container has been installed on the host system;
uninstall the package with the container;
remove the package from a list of the binaries that are installed with the container; and
log uninstall details of the package in a log.

### Claim 15 (depends on 10)

The system of claim 10, wherein the processor further executes instructions to provide a notification that the container and the binaries that were previously installed with the container have been successfully restored.

### Claim 16

A computer program product for restoring binaries of a container, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to:
receive a container install request to install a container on a host system;
determine binaries that were previously installed with the container; and
install the container and the binaries that were previously installed with the container in response to the container install request.

### Claim 17 (depends on 16)

The computer program product of claim 16, the program instructions further executable by the processor to:
determine whether a package is stored in a local repository of the host system; and
install the package using the package stored in the local repository of the host system in response to a determination that the package is stored in the local repository of the host system.

### Claim 18 (depends on 16)

The computer program product of claim 16, the program instructions further executable by the processor to:
determine whether a package is stored in a local repository of the host system;
download the package from an external repository in response to a determination that the package is not stored in the local repository of the host system;
install the package using the downloaded package; and
store the downloaded package in the local repository of the host system.

### Claim 19 (depends on 16)

The computer program product of claim 16, the program instructions further executable by the processor to:
receive a package install request to install a package after the container has been installed on the host system;
install the package with the container;
add the package to a list of the binaries that are installed with the container; and
log installation details of the package in a log.

### Claim 20 (depends on 16)

The computer program product of claim 16, the program instructions further executable by the processor to:
receive a package uninstall request to uninstall a package after the container has been installed on the host system;
uninstall the package with the container;
remove the package from a list of the binaries that are installed with the container; and
log uninstall details of the package in a log.
