CPC G06F 16/1824 (2019.01) [G06F 16/148 (2019.01); G06F 16/164 (2019.01); G06F 16/1734 (2019.01); G06F 16/178 (2019.01)] | 17 Claims |
1. A method comprising:
initializing a build of a container, wherein the container is an isolated execution environment of a computing device;
during the initializing, mounting a file system of the container and flagging the file system of the container to indicate that requests to synchronize the file system of the container are to be ignored during the build of the container; and
during the build of the container:
saving container data in a volatile memory of the computing device allocated to the container;
receiving a sync operation from the container at an operating system kernel, wherein the sync operation requests the operating system kernel to synchronize the container data from the volatile memory allocated to the container to a persistent storage of the computing device allocated to the container for persistent storage of the file system;
determining, by a processing device executing an operating system kernel, whether the file system indicates that the sync operation is to be ignored; and
in response to determining that the file system indicates that the sync operation is to be ignored, preventing performance of the sync operation while providing a response to the container that the sync operation was successfully performed by the processing device executing the operating system kernel.
|