moby/daemon/containerd
Paweł Gronowski 01214bafd2
c8d/builder: Don't drop fields from created image
Previous image created a new partially filled image.
This caused child images to lose their parent's layers.

Instead of creating a new object and trying to replace its fields, just
clone the original passed image and change its ID to the manifest
digest.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-08-24 09:44:12 +02:00
..
cache.go Skip cache lookup for "FROM scratch" in containerd 2023-06-26 16:02:32 -07:00
handlers.go c8d/handlers: Handle error in walkPresentChildren 2023-06-02 10:23:03 +02:00
image.go c8d/inspect: Ignore manifest with missing config 2023-08-17 09:48:29 +02:00
image_builder.go c8d/builder: Don't drop fields from created image 2023-08-24 09:44:12 +02:00
image_changes.go c8d/diff: Reuse mount, mount parent as read-only 2023-08-11 15:30:38 +02:00
image_children.go swap logrus types for their containerd/logs aliases 2023-08-01 13:02:55 +02:00
image_children_test.go c8d: Implement Children by comparing diff ids 2023-04-06 14:27:37 +02:00
image_commit.go c8d/commit: Don't produce an empty layer 2023-08-22 17:32:18 +02:00
image_delete.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
image_events.go Add the events services to the containerd image service 2023-03-30 17:48:51 +02:00
image_exporter.go c8d/export: Use ref counted mounter 2023-08-11 15:30:36 +02:00
image_history.go c8d/images: handle images without manifests for default platform 2023-06-28 10:53:43 +02:00
image_import.go swap logrus types for their containerd/logs aliases 2023-08-01 13:02:55 +02:00
image_import_test.go daemon/containerd: fix assignment to entry in nil map during commit 2023-07-10 10:58:06 +02:00
image_list.go swap logrus types for their containerd/logs aliases 2023-08-01 13:02:55 +02:00
image_manifest.go c8d/handlers: Handle error in walkPresentChildren 2023-06-02 10:23:03 +02:00
image_prune.go swap logrus types for their containerd/logs aliases 2023-08-01 13:02:55 +02:00
image_pull.go swap logrus types for their containerd/logs aliases 2023-08-01 13:02:55 +02:00
image_push.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
image_snapshot.go c8d/run: Allow running container without image 2023-08-22 17:32:20 +02:00
image_squash.go containerd-integration: prefer error over panic where possible 2022-09-07 22:01:49 +02:00
image_tag.go swap logrus types for their containerd/logs aliases 2023-08-01 13:02:55 +02:00
mount.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
progress.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
resolver.go swap logrus types for their containerd/logs aliases 2023-08-01 13:02:55 +02:00
service.go swap logrus types for their containerd/logs aliases 2023-08-01 13:02:55 +02:00
soft_delete.go c8d/softDelete: Deep copy Labels 2023-06-30 18:18:50 +02:00
store.go c8d: Implement push 2023-03-30 19:53:02 +02:00