From bf1ca2e12945c633a474e943a4aab6f5972c3e38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Wed, 13 Sep 2017 17:42:33 +0200 Subject: [PATCH] Hotfix: Do not fetch manifest lists from Docker registries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows copy.Image to work with Docker Hub registries, which now use manifest lists for many images; the downside is breaking non-copy uses for any non-default architecture. Signed-off-by: Miloslav Trmač --- manifest/manifest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest/manifest.go b/manifest/manifest.go index 605bab1db7..e329ee576c 100644 --- a/manifest/manifest.go +++ b/manifest/manifest.go @@ -35,7 +35,7 @@ var DefaultRequestedManifestMIMETypes = []string{ DockerV2Schema2MediaType, DockerV2Schema1SignedMediaType, DockerV2Schema1MediaType, - DockerV2ListMediaType, + // DockerV2ListMediaType, // FIXME: Restore this ASAP } // GuessMIMEType guesses MIME type of a manifest and returns it _if it is recognized_, or "" if unknown or unrecognized.