Container application execution using image metadata
US-10521447-B2 · Dec 31, 2019 · US
US11762850B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11762850-B2 |
| Application number | US-202017093369-A |
| Country | US |
| Kind code | B2 |
| Filing date | Nov 9, 2020 |
| Priority date | Nov 9, 2020 |
| Publication date | Sep 19, 2023 |
| Grant date | Sep 19, 2023 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A computer-implemented method according to one embodiment includes receiving a manifest for a container image of a container to be created; identifying a mapping index for a cluster of computing nodes; and selecting a computing node within the cluster of computing nodes to create the container, based on a comparison of the manifest to the mapping index.
Opening claim text (preview).
What is claimed is: 1. A computer-implemented method, comprising: receiving a manifest for a container image of a container to be created; identifying a mapping index for a cluster of computing nodes; selecting a computing node within the cluster of computing nodes to create the container, based on a comparison of the manifest to the mapping index, wherein the computing node that is linked to the largest number of content identifiers within the manifest is selected to create the container; and creating the container in the selected computing node including running an application within the container on the selected computing node. 2. The computer-implemented method of claim 1 , wherein the manifest for the container image includes metadata describing a plurality of files within the container image, the metadata including a list of content identifiers and content-based addresses. 3. The computer-implemented method of claim 1 , wherein the mapping index stores content identifiers of all container image files currently stored within each node of the cluster of computing nodes, where the content identifiers for each container image file currently stored within a node of the cluster of computing nodes are linked to an identifier for the node. 4. The computer-implemented method of claim 1 , wherein the mapping index stores only a prefix of each content identifier of all container image files currently stored within each node of the cluster of computing nodes. 5. The computer-implemented method of claim 1 , wherein for each node identifier within the mapping index, a number of content identifiers within the manifest that are linked to the node identifier is determined. 6. The computer-implemented method of claim 1 , further comprising identifying a subset of node identifiers within the mapping index to compare to the manifest. 7. The computer-implemented method of claim 1 , further comprising identifying a subset of all content identifiers within the manifest to compare to the mapping index. 8. The computer-implemented method of claim 1 , further comprising updating the mapping index in response to a retrieval of a container image file and a storage of the container image file at a computing node of the cluster. 9. The computer-implemented method of claim 1 , further comprising updating the mapping index in response to a removal of a container image file from a computing node of the cluster. 10. The computer-implemented method of claim 1 , further comprising scheduling a creation of the container at the selected computing node. 11. The computer-implemented method of claim 10 , further comprising mounting a file system for the container at the selected computing node, utilizing the manifest. 12. The computer-implemented method of claim 11 , further comprising: identifying, by the file system mounted for the container, a request to access data within a container image of the container; and retrieving the data, utilizing a location of the data determined utilizing the manifest. 13. The computer-implemented method of claim 1 , wherein the selecting includes comparing only node identifiers for computing nodes that meet one or more additional resource requirements to the manifest, wherein the additional resource requirements include a requirement selected from the group consisting of: a minimal amount of available cache memory for the computing node, and a minimal amount of nonvolatile storage for the computing node. 14. A computer program product for performing content-aware node selection for container creation, the 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 a method comprising: receiving, by the processor, a manifest for a container image of a container to be created; identifying, by the processor, a mapping index for a cluster of computing nodes; and selecting, by the processor, a computing node within the cluster of computing nodes to create the container, based on a comparison of the manifest to the mapping index, wherein for each node identifier within the mapping index, a number of content identifiers within the manifest that are linked to the node identifier is determined. 15. The computer program product of claim 14 , wherein the manifest for the container image includes metadata describing a plurality of files within the container image, the metadata including a list of content identifiers and content-based addresses. 16. The computer program product of claim 14 , wherein the mapping index stores content identifiers of all container image files currently stored within each node of the cluster of computing nodes, where the content identifiers for each container image file currently stored within a node of the cluster of computing nodes are linked to an identifier for the node. 17. The computer program product of claim 14 , wherein the mapping index stores only a prefix of each content identifier of all container image files currently stored within each node of the cluster of computing nodes. 18. The computer program product of claim 14 , wherein a node that is linked to the largest number of content identifiers within the manifest is selected to create the container. 19. The computer program product of claim 14 , comprising program instructions for creating the container in the selected computing node including running an application within the container in the selected computing node. 20. A system, comprising: a processor; and logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to: receive a manifest for a container image of a container to be created, wherein the manifest for the container image includes metadata describing a plurality of files within the container image, the metadata including a list of content identifiers and content-based addresses; identify a mapping index for a cluster of computing nodes, wherein the mapping index stores content identifiers of all container image files currently stored within each node of the cluster of computing nodes, where the content identifiers for each container image file currently stored within a node of the cluster of computing nodes are linked to an identifier for the node; select a computing node within the cluster of computing nodes to create the container, based on a comparison of the manifest to the mapping index, wherein the computing node that is linked to the largest number of content identifiers within the manifest is selected to create the container; and create the container in the selected computing node and run an application within the container in the selected computing node.
Hypervisor-specific management and integration aspects · CPC title
File system administration, e.g. details of archiving or snapshots (error detection or correction of the data by redundancy in operations G06F11/14) · CPC title
Query processing · CPC title
Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455) · CPC title
Creating, deleting, cloning virtual machine instances · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.