code: func (container *Container) CopyImagePathContent(v volume.Volume, destination string) error {
  	rootfs, err := container.GetResourcePath(destination)
  	if err != nil {
  		return err
  	}
  
  	if _, err := os.Stat(rootfs); err != nil {
  		if os.IsNotExist(err) {
  			return nil
  		}
  		return err
  	}
  
  	id := stringid.GenerateNonCryptoID()
  	path, err := v.Mount(id)
  	if err != nil {
  		return err
  	}
  
  	defer func() {
  		if err := v.Unmount(id); err != nil {
  			logrus.Warnf("error while unmounting volume %s: %v", v.Name(), err)
  		}
  	}()
  	if err := label.Relabel(path, container.MountLabel, true); err != nil && err != unix.ENOTSUP {
  		return err
  	}
  	return copyExistingContents(rootfs, path)
  }
docs: // CopyImagePathContent copies files in destination to the volume.