System and method to transform an image of a container to an equivalent, bootable virtual machine image
First Claim
1. A method of creating a bootable virtual machine (VM) image for a container image, the method comprising:
- creating, at a controller machine, a single partition within an output VM disk file;
forming, at the controller machine, a valid file system for a container image in a main partition of the output VM disk file;
arranging, at the controller machine, an input set of container image definitions as a list, wherein a base image forms a head of the list and subsequent images follow in the list;
processing, at the controller machine, the list for each image by adding the input set of container image definitions to the output VM file; and
applying, at the controller machine, a final networking configuration over the output VM file.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method include creating a bootable virtual machine (VM) image for a container image. The method includes a controller machine creating a single partition within an output VM disk file where the single partition comprises a master boot record and a partition table, forming a valid file system in a main partition of the output VM disk file, arranging an input set of container image definitions as a list where a base image forms a head of the list and subsequent images follow in the list, sequentially processing the list for each image by adding the input set of container image definitions to the output VM file; and applying a final networking configuration over the output VM file.
-
Citations
23 Claims
-
1. A method of creating a bootable virtual machine (VM) image for a container image, the method comprising:
-
creating, at a controller machine, a single partition within an output VM disk file; forming, at the controller machine, a valid file system for a container image in a main partition of the output VM disk file; arranging, at the controller machine, an input set of container image definitions as a list, wherein a base image forms a head of the list and subsequent images follow in the list; processing, at the controller machine, the list for each image by adding the input set of container image definitions to the output VM file; and applying, at the controller machine, a final networking configuration over the output VM file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An apparatus that creates a bootable virtual machine (VM) image from a container image, the apparatus comprising:
-
a controller; and a memory coupled to the controller, wherein the memory stores programmed instructions and an output VM disk file; wherein the controller includes programmed instructions to; create a single partition within the output VM disk file; form a valid file system in a main partition of the output VM disk file; arrange an input set of container image definitions as a list, wherein a base image forms a head of the list and subsequent images follow in the list; process the list for each image by adding the input set of container image definitions to the output VM file; and apply a final networking configuration over the output VM file. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A non-transitory computer readable storage medium to store a computer program configured to execute a method for creating a bootable virtual machine (VM) image from a container image, the method comprising:
-
creating a single partition within an output VM disk file; forming a valid file system for a container image in a main partition of the output VM disk file; arranging an input set of container image definitions as a list, wherein a base image forms a head of the list and subsequent images follow in the list; processing the list for each image by adding the input set of container image definitions to the output VM file; and applying a final networking configuration over the output VM file. - View Dependent Claims (21, 22, 23)
-
Specification