# US 2021/0286637 A1 · Operating system-agnostic container runtime

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

- Number: US 2021/0286637 A1
- Document ID: US20210286637A1
- Status: Published application
- Kind: A1
- Application number: 16/814,039
- Filed: 2020-03-10
- Published: 2021-09-16
- Earliest claimed: 2020-03-10
- Assignees: DISH Network L.L.C.
- Applicants: DISH Network L.L.C.
- Inventors: Allyson Lotz
- Web page: https://patentgrep.com/patent/US20210286637A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06N 20/00: Machine learning
- G06F 9/45512: {Command shells}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Novel techniques are described for operating system (OS) agnostic containerization for application deployment. For example, an application is being deployed to a large number of target computational environments running a variety of different OSs, including OSs that are either unknown to the deployment environment or not directly supported by OS-specific container runtimes accessible to the deployment environment. Embodiments can automatically generate a resource profile of a target OS running in a target computational environment, for example, by exploiting functionality of a network interface application also running in the target computational environment. The resource profile can be used to convert an OS-agnostic container runtime into a target-tailored container runtime (tailored for the target OS), and the target-tailored runtime can be deployed to build the containerized application in the target computational environment.

## Claims

### Claim 1

A method for operating system (OS) agnostic containerization comprising:
communicating a constructor script from a containerization environment to a network interface application, the constructor script requesting a set of OS descriptors of a target OS that is running the network interface application in a target computational environment, the OS descriptors characterizing OS-to-resource interactivity;
receiving, by the containerization environment from the network interface application, a constructor response indicating at least a portion of the set of OS descriptors generated by the network interface application responsive to the constructor script;
generating a resource profile for the target OS by the containerization environment in accordance with the constructor response;
converting, by the containerization environment, an OS-agnostic (OSA) container runtime to a target-tailored container runtime by disambiguating OSA resource interfaces as target-tailored resource interfaces in accordance with the resource profile; and
deploying, by the containerization environment to the target computational environment, a container package having the target-tailored container runtime and a container image of an application built according to the OSA container runtime.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
analyzing the container image to determine a resource interface profile for the application; and
generating the constructor script according to the resource interface profile.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving a pull communication, by the containerization environment from the target computational environment, requesting deployment of the application,
wherein the communicating is responsive to the pull communication.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving a push communication, by the containerization environment from a computational environment other than the target computational environment, requesting deployment of the application,
wherein the communicating is responsive to the push communication.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the containerization environment is implemented on a server computational environment;
the target computational environment is implemented on a user computational device in communication with the server computational environment via a communication network;
communicating the constructor script is from the server computational environment to the user computational device via the communication network; and
receiving the constructor response is by the server computational environment from the user computational device via the communication network.

### Claim 6 (depends on 1)

The method of claim 1, wherein the containerization environment is implemented local to the target computational environment.

### Claim 7 (depends on 1)

The method of claim 1, wherein the converting comprises:
determining a matching OS profile from a plurality of stored OS profiles as having a respective OS-to-resource interactivity that is most similar to that characterized by the resource profile; and
disambiguating the OSA resource interfaces as the target-tailored resource interfaces in using the matching OS profile.

### Claim 8 (depends on 1)

The method of claim 1, wherein the converting comprises applying the resource profile to a deep reinforcement learning engine to disambiguate the OSA resource interfaces as the target-tailored resource interfaces.

### Claim 9 (depends on 1)

The method of claim 1, wherein:
the network interface application is a web browser application running on the target OS in the target computational environment.

### Claim 10 (depends on 1)

The method of claim 1, wherein:
communicating the constructor script comprises directing prompting of a user, by the network interface application via a user interface of the target computational environment, to commence deployment of the application to the target computational environment; and
the constructor response is generated at least partially in response to the user interacting with the prompt.

### Claim 11 (depends on 1)

The method of claim 1, wherein the set of OS descriptors relate to at least one of: a network stack implemented by the target OS, a process identification number used by the target OS, an inter-process communication resource used by the target OS, a mounting system implemented by the target OS, a local memory accessed by the target OS, or a central processing unit accessed by the local OS.

### Claim 12

A system for operating system (OS) agnostic containerization comprising:
one or more processors; and
a processor-readable memory having instructions stored thereon, which, when executed, cause the one or more processors to perform steps comprising:
communicating a constructor script to a network interface application, the constructor script requesting a set of OS descriptors of a target OS that is running the network interface application in a target computational environment, the OS descriptors characterizing OS-to-resource interactivity;
receiving, from the network interface application, a constructor response indicating at least a portion of the set of OS descriptors generated by the network interface application responsive to the constructor script;
generating a resource profile for the target OS by the containerization environment in accordance with the constructor response;
converting, by the containerization environment, an OS-agnostic (OSA) container runtime to a target-tailored container runtime by disambiguating OSA resource interfaces as target-tailored resource interfaces in accordance with the resource profile; and
deploying, by the containerization environment to the target computational environment, a container package having the target-tailored container runtime and a container image of an application built according to the OSA container runtime.

### Claim 13 (depends on 12)

The system of claim 12, wherein the instructions, when executed, cause the one or more processors to perform steps further comprising:
analyzing the container image to determine a resource interface profile for the application; and
generating the constructor script according to the resource interface profile.

### Claim 14 (depends on 12)

The system of claim 12, wherein the communicating the constructor script is performed responsive to receiving one of a pull communication or a push communication requesting deployment of the application.

### Claim 15 (depends on 12)

The system of claim 12, wherein the converting comprises:
determining a matching OS profile from a plurality of stored OS profiles as having a respective OS-to-resource interactivity that is most similar to that characterized by the resource profile; and
disambiguating the OSA resource interfaces as the target-tailored resource interfaces in using the matching OS profile.

### Claim 16 (depends on 12)

The system of claim 12, wherein the converting comprises applying the resource profile to a deep reinforcement learning engine to disambiguate the OSA resource interfaces as the target-tailored resource interfaces.

### Claim 17 (depends on 12)

The system of claim 12, wherein:
communicating the constructor script comprises directing prompting of a user, by the network interface application via a user interface of the target computational environment, to commence deployment of the application to the target computational environment; and
the constructor response is generated at least partially in response to the user interacting with the prompt.

### Claim 18

A system for operating system (OS) agnostic containerization comprising:
a resource profiler implemented by a containerization environment of a server computer system configured to generate a resource profile of a target OS of a target computational environment in communication with the containerization environment via a communication network by:
communicating a constructor script to a network interface application, the constructor script requesting a set of OS descriptors of a target OS that is running the network interface application in a target computational environment, the OS descriptors characterizing OS-to-resource interactivity;
receiving, from the network interface application, a constructor response indicating at least a portion of the set of OS descriptors generated by the network interface application responsive to the constructor script; and
generating a resource profile for the target OS by the containerization environment in accordance with the constructor response; and
a runtime generator implemented by the containerization environment, coupled with the resource profiler, and configured to convert an OS-agnostic (OSA) container runtime to a target-tailored container runtime for deployment to the target computational environment to be run on the target OS by disambiguating OSA resource interfaces as target-tailored resource interfaces in accordance with the resource profile.

### Claim 19 (depends on 18)

The system of claim 18, further comprising:
a data store having, stored thereon, a plurality of stored OS profiles, each having a respective OS-to-resource interactivity,
wherein the runtime generator is configured to convert the OSA container runtime to the target-tailored container runtime by:
determining a matching OS profile from the plurality of stored OS profiles as having the respective OS-to-resource interactivity that is most similar to that characterized by the resource profile; and
disambiguating the OSA resource interfaces as the target-tailored resource interfaces in using the matching OS profile.

### Claim 20 (depends on 18)

The system of claim 18, wherein:
the runtime generator comprises a machine learning engine; and
the runtime generator is configured to convert the OSA container runtime to the target-tailored container runtime by applying the resource profile to the machine learning engine to disambiguate the OSA resource interfaces as the target-tailored resource interfaces.
