Image upgrade method and device
US-2020218529-A1 · Jul 9, 2020 · US
US12169480B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-12169480-B2 |
| Application number | US-202017017288-A |
| Country | US |
| Kind code | B2 |
| Filing date | Sep 10, 2020 |
| Priority date | Sep 10, 2020 |
| Publication date | Dec 17, 2024 |
| Grant date | Dec 17, 2024 |
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.
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.
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.
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
Virtual file systems · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.