Patent ID: 11947498
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. A computer program product, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by an electronic device to cause the electronic device to perform a method, the method comprising:
receiving, by one or more processors, a request to read a file in a first layer in a container image including a plurality of layers, wherein the file is a delta file which is from an updated executable file based on a base executable file, wherein the delta file is added to the container image and replaces the updated executable file in the container image, wherein the base executable file is in a lower layer than the first layer in the container image, and the delta file includes a header and a body, wherein the header includes block mappings between the updated executable file and the base executable file, wherein the block mappings in the header include indications of paired blocks with a same data between the updated executable file and the base executable file and indications of different blocks in the updated executable file with different data from blocks in the base executable file, and the body includes different unduplicated data between the updated executable file and the base executable file, and wherein a plurality of blocks included in the updated executable file and the base executable file are based on a respective file structure of the updated executable file and the base executable file;
restoring, by the one or more processors, the updated executable file based on the delta file and the base executable file; and
returning, by the one or more processors, data in the updated executable file as a response of the request.