moby/daemon/containerd
Paweł Gronowski 0c2d83b5fb
c8d/list: Handle unpacked layers when calculating shared size
After a535a65c4b the size reported by the
image list was changed to include all platforms of that image.

This made the "shared size" calculation consider all diff ids of all the
platforms available in the image which caused "snapshot not found"
errors when multiple images were sharing the same layer which wasn't
unpacked.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-03-20 11:17:28 +01:00
..
cache.go imageService: Extract common code from MakeImageCache 2024-03-07 15:39:42 +01:00
handlers.go Update cleanup logic to use resolve all images 2023-12-18 14:04:48 -08:00
image.go daemon/c8d: Use i.images and i.content 2024-03-07 16:25:27 +01:00
image_builder.go daemon/c8d: Use i.images and i.content 2024-03-07 16:25:27 +01:00
image_changes.go c8d/changes: Fix concurrents diffs 2023-10-13 13:15:50 +02:00
image_children.go c8d/cache: Optimize FROM scratch case 2024-01-17 14:57:53 +01:00
image_commit.go daemon/c8d: Use i.images and i.content 2024-03-07 16:25:27 +01:00
image_delete.go c8d: Send image delete metrics to prometheus 2024-03-13 15:03:42 +01:00
image_delete_test.go Add support for removing repo and digest 2023-12-18 16:33:53 -08:00
image_events.go api/types/image: move GetImageOpts to api/types/backend 2024-01-22 20:45:21 +01:00
image_exporter.go c8d/save: Handle digested reference same as ID 2024-01-29 16:29:05 +01:00
image_history.go c8d: Send history metrics to prometheus 2024-03-13 15:03:42 +01:00
image_import.go daemon/c8d: Use i.images and i.content 2024-03-07 16:25:27 +01:00
image_import_test.go daemon/c8d: Use Docker imagespec 2023-08-31 17:15:05 +02:00
image_list.go c8d/list: Handle unpacked layers when calculating shared size 2024-03-20 11:17:28 +01:00
image_list_test.go c8d/list: Add Images benchmark 2024-03-19 09:38:56 +01:00
image_manifest.go pkg/platforms: internalize in daemon/containerd 2024-01-20 22:28:56 +01:00
image_prune.go Update cleanup logic to use resolve all images 2023-12-18 14:04:48 -08:00
image_pull.go c8d: Send pull metrics to prom 2024-03-13 15:03:42 +01:00
image_push.go c8d: Send push metrics to prom 2024-03-13 15:03:42 +01:00
image_snapshot.go daemon/c8d: Use i.images and i.content 2024-03-07 16:25:27 +01:00
image_snapshot_unix.go Update commit id unmap to directly use active mounts 2023-12-22 10:14:44 -08:00
image_snapshot_windows.go Update commit id unmap to directly use active mounts 2023-12-22 10:14:44 -08:00
image_squash.go containerd-integration: prefer error over panic where possible 2022-09-07 22:01:49 +02:00
image_tag.go daemon/c8d: Use i.images and i.content 2024-03-07 16:25:27 +01:00
image_test.go c8d/list: Add Images benchmark 2024-03-19 09:38:56 +01:00
imagespec.go migrate image spec to github.com/moby/docker-image-spec 2024-02-09 19:12:18 +01:00
mount.go daemon/c8d: Unmount container fs after unclean shutdown 2023-11-27 12:33:33 +01:00
platform_matchers.go pkg/platforms: internalize in daemon/containerd 2024-01-20 22:28:56 +01:00
progress.go c8d/pull: Don't emit Downloading with 0 progress 2024-02-22 18:03:16 +01:00
resolver.go Default the auth config domain to the target image domain 2023-11-06 17:02:18 -08:00
service.go daemon/c8d: Cache SnapshotService 2024-03-07 16:25:29 +01:00
service_unix.go Implement GetLayerFolders for the containerd image store 2024-01-17 16:29:28 +01:00
service_windows.go Implement GetLayerFolders for the containerd image store 2024-01-17 16:29:28 +01:00
soft_delete.go Update cleanup logic to use resolve all images 2023-12-18 14:04:48 -08:00
store.go daemon/c8d: use new containerd LabelDistributionSource constant 2023-09-21 14:18:42 -06:00