image_squash.go 533 B

1234567891011
  1. package containerd
  2. // SquashImage creates a new image with the diff of the specified image and
  3. // the specified parent. This new image contains only the layers from its
  4. // parent + 1 extra layer which contains the diff of all the layers in between.
  5. // The existing image(s) is not destroyed. If no parent is specified, a new
  6. // image with the diff of all the specified image's layers merged into a new
  7. // layer that has no parents.
  8. func (i *ImageService) SquashImage(id, parent string) (string, error) {
  9. panic("not implemented")
  10. }