docs: def _read_layers(self, layers, image_id):
          """ Reads the JSON metadata for specified layer / image id """
  
          for layer in self.docker.history(image_id):
              layers.append(layer['Id'])