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

Claim 14:
15. A non-transitory computer-readable medium comprising instructions executable in a computer system, wherein the instructions when executed in the computer system cause the computer system to carry out a method for running a container in a virtual machine, the method comprising:
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:
powering on the virtual machine, the virtual machine having a static identifier;
obtaining an IP address for the virtual machine; determining that the virtual machine was previously 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;

establishing 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
starting the container running in the virtual machine after the establishing of the link.