Patent ID: 11915025
Assignee: VMWARE LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. A host computer system comprising:
one or more CPUs; and
a memory coupled to the one or more CPUs, the memory having loaded therein:
virtualization software for running one or more virtual machines, wherein at least a virtual machine of the virtual machines has running thereon a guest operating system, and wherein a container is to be run by the guest operating system;
wherein the virtualization software is configured to:
after the virtual machine was previously linked to a communication port of the container based on a previous internet protocol (IP) address of the virtual machine and after the virtual machine was previously powered off:
power on the virtual machine, the virtual machine having a static identifier;
obtain an IP address for the virtual machine;
determine that the virtual machine was previously assigned linked to the communication port of the container by:
searching a table that includes entries each of which contains a mapping from a respective communication port of a respective container to a respective static identifier of a respective virtual machine, and
finding an entry in the table for the static identifier of the virtual machine;

establish a link between the IP address of the virtual machine and the communication port of the container based on the finding of the entry in the table for the static identifier of the virtual machine, wherein the IP address of the virtual machine and the previous IP address of the virtual machine are not included in the entry in the table; and
start the container running in the virtual machine after the establishing of the link.