| CPC G06F 9/45558 (2013.01) [G06F 2009/45583 (2013.01); G06F 2009/45587 (2013.01)] | 20 Claims |

|
1. A method comprising:
receiving a request to retain a first persistent volume used to maintain data for one or more first containers on a host, when the one or more first containers are removed from the host;
receiving a first container image associated with one of the one or more first containers;
generating a first key for reserving the first persistent volume, the first key based, at least in part, on the first container image; and
reserving the first persistent volume for exclusive access by the hypervisor using the first key;
receiving a request, from a container, for access to the first persistent volume;
calculating a first hash using at least the first container image;
receiving a second hash from the container, wherein the second hash is based, at least in part, on a second container image associated with the container;
verifying the first hash matches the second hash;
releasing the reservation on the first persistent volume using the first key; and
granting the container access to the first persistent volume.
|