Patent ID: 9652273
Date: 2017-05-16
CPC Classifications: G06F

Claim:
1. A method of creating a hierarchy of virtual machine templates in a virtualized computing system that supports the execution of a plurality of virtual machines, each virtual machine supporting the execution of one or more applications therein, and each application executing within a container that isolates the application executing therein from other processes executing on the virtualized computing system, the method comprising: instantiating a first parent virtual machine template having a guest operating system and a first container; determining a first application to be run in a container; receiving instructions to perform a fork operation on the first parent virtual machine template to create a first child virtual machine template, the first child virtual machine template including a replica of the first container, wherein the guest operating system of the first parent virtual machine template is mapped to a memory location that overlaps with a memory location of a guest operating system of the first child virtual machine template; and installing the first application in the replica of the first container, wherein, before installing the first application in the replica of the first container, memory locations corresponding to the first container of the first parent virtual machine template overlap with memory locations of the replica of the first container of the first child virtual machine template, and, after installing the first application in the replica of the first container, memory locations corresponding to the first container do not overlap with memory locations corresponding to the replica of the first container.