mirror of
https://github.com/moby/moby.git
synced 2026-07-24 08:22:47 +00:00
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>