mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
The download manager assumed there was at least one layer involved in all images. This can be false if the image is essentially a copy of `scratch`. Fix a nil pointer dereference that happened in this case. Add integration tests that involve schema1 and schema2 manifests. Fixes #21213 Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> Upstream-commit: 7cf894ce1013e5843d5c151f24520b51d34515d0 Component: engine