US 9,811,806 B1
Determining license use for composed container services in cloud platforms
Da Hu Kuang, Beijing (CN); Xin Peng Liu, Beijing (CN); Zhao Liu, Austin, TX (US); and Shu Chao Wan, Beijing (CN)
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Sep. 15, 2016, as Appl. No. 15/267,000.
Int. Cl. G06F 21/00 (2013.01); G06Q 10/10 (2012.01); G06F 17/30 (2006.01); G06F 9/445 (2006.01)
CPC G06Q 10/10 (2013.01) [G06F 8/63 (2013.01); G06F 17/30097 (2013.01); G06F 17/30327 (2013.01); G06F 17/30365 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
receiving an indication to commit a first containerized image to an image repository, wherein the first containerized image is extended from a second containerized image and comprises a plurality of image layers including a first image layer and a plurality of image layers of the second containerized image;
validating the first containerized image by:
determining that: (i) the second containerized image is associated with a first node of a first tree data structure, (ii) the first image layer is not associated with any nodes of the first tree data structure, and (iii) each remaining image layer of the first containerized image is associated with a respective node of the first tree data structure;
generating a first signature value for the first containerized image;
generating a second node in the first tree data structure, wherein the second node stores an indication of the first signature value, the first containerized image, and an ordered list of each of the plurality of image layers of the first containerized image: and
committing the first containerized image to the repository by operation of a computer processor.