code: func (i *ImageService) GetLayerByID(cid string, os string) (layer.RWLayer, error) {
  	return i.layerStores[os].GetRWLayer(cid)
  }
docs: // GetLayerByID returns a layer by ID and operating system
  // called from daemon.go Daemon.restore(), and Daemon.containerExport()