System to support native storage of a container image on a host operating system for a container running in a virtual machine

US12169480B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12169480-B2
Application numberUS-202017017288-A
CountryUS
Kind codeB2
Filing dateSep 10, 2020
Priority dateSep 10, 2020
Publication dateDec 17, 2024
Grant dateDec 17, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Described herein are a system and method for forming a container image. The system and method include obtaining a first layer of a plurality of layers of the container image. The contents of the first layer are stored in a directory such that a first disk image layer file is mounted to the directory. A second layer of the plurality of layers is obtained, and the contents of the second layer are stored in the directory so that the first disk image layer includes contents of the first layer and the second layer. The first disk image layer is saved and is mountable and includes files of the container image.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for forming a container image, the method comprising: obtaining a first layer of a plurality of layers of the container image; storing contents of the first layer into a directory, wherein a first disk image layer file is mounted to the directory; obtaining a second layer of the plurality of layers; storing contents of the second layer into the directory so that the first disk image layer file includes the contents of the first layer and the second layer; setting a property of the first disk image layer file to configure the first disk image layer file to have case sensitive file names; and saving the first disk image layer file, the first disk image layer file being mountable and including files of the container image. 2. The method of claim 1 , wherein the second layer is a difference layer over at least the first layer. 3. The method of claim 1 , further comprising: prior to storing contents of the second layer into the directory, un-mounting the first disk image layer file from the directory; and saving a copy of the first disk image layer file in a second directory. 4. The method of claim 1 , wherein the first layer and second layer correspond to first and second digest files in a repository; and wherein each of the first digest file and second digest file has a hash value and is accessible from the repository by its hash value. 5. The method of claim 1 , further comprising executing a container based on the container image, the container having a root file system, by mounting the first disk image layer file to the root file system. 6. The method of claim 5 , wherein the method is performed by a container runtime executing on a host operating system of a computing device; and wherein the container is running in a virtual computing instance executing on the computing device, the container virtualizing a guest operating system of the virtual computing instance. 7. A system comprising: one or more processors; and a RAM containing a host operating system and a program run by the one or more processors for forming a container image, wherein the program is configured to perform steps for forming a container image, the steps including: obtaining a first layer of a plurality of layers of the container image; storing contents of the first layer into a directory, wherein a first disk image layer file is mounted to the directory; obtaining a second layer of the plurality of layers; storing contents of the second layer into the directory so that the first disk image layer file includes the contents of the first layer and the second layer; setting a property of the first disk image layer file to configure the first disk image layer file to have case sensitive file names; and saving the first disk image layer file, the first disk image layer file being mountable and including files of the container image. 8. The system of claim 7 , wherein the second layer is a difference layer over at least the first layer. 9. The system of claim 7 , wherein the steps further include: prior to storing contents of the second layer into the directory, un-mounting the first disk image layer file from the directory; and saving a copy of the first disk image layer file in a second directory. 10. The system of claim 7 , wherein the first layer and second layer correspond to first and second digest files in a repository; and wherein each of the first digest file and second digest file has a hash value and is accessible from the repository by its hash value. 11. The system of claim 7 , wherein the steps further include executing a container based on the container image, the container having a root file system, by mounting the first disk image layer file to the root file system. 12. The system of claim 11 , wherein the method is performed by a container runtime executing on the host operating system; and wherein the container is running in a virtual computing instance executing on the system, the container virtualizing a guest operating system of the virtual computing instance. 13. A non-transient computer-readable medium containing instructions executable in a computer system, where the instructions when executed in the computer system cause the computer system to carry out a method for forming a container image, the method comprising: obtaining a first layer of a plurality of layers of the container image; storing contents of the first layer into a directory, wherein a first disk image layer file is mounted to the directory; obtaining a second layer of the plurality of layers; storing contents of the second layer into the directory so that the first disk image layer file includes the contents of the first layer and the second layer; setting a property of the first disk image layer file to configure the first disk image layer file to have case sensitive file names; and saving the first disk image layer file, the first disk image layer file being mountable and including files of the container image. 14. The non-transient computer-readable medium of claim 13 , wherein the second layer is a difference layer over at least the first layer. 15. The non-transient computer-readable medium of claim 13 , the method further comprising: prior to storing contents of the second layer into the directory, un-mounting the first disk image layer file from the directory; and saving a copy of the first disk image layer file in a second directory. 16. The non-transient computer-readable medium of claim 13 , wherein the first layer and second layer correspond to first and second digest files in a repository; and wherein each of the first digest file and second digest file has a hash value and is accessible from the repository by its hash value. 17. The non-transient computer-readable medium of claim 13 , the method further comprising executing a container based on the container image, the container having a root file system, by mounting the first disk image layer file to the root file system.

Assignees

Inventors

Classifications

  • G06F16/137Primary

    Hash-based (content-based indexing of textual data G06F16/31) · CPC title

  • Hypervisor-specific management and integration aspects · CPC title

  • Memory management, e.g. access or allocation · CPC title

  • Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines · CPC title

  • G06F16/188Primary

    Virtual file systems · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12169480B2 cover?
Described herein are a system and method for forming a container image. The system and method include obtaining a first layer of a plurality of layers of the container image. The contents of the first layer are stored in a directory such that a first disk image layer file is mounted to the directory. A second layer of the plurality of layers is obtained, and the contents of the second layer are…
Who is the assignee on this patent?
VMware LLC
What technology area does this patent fall under?
Primary CPC classification G06F16/137. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 17 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).