From c202010f8ae7e6eaf5a52777e29e5a0f46c4eb53 Mon Sep 17 00:00:00 2001 From: Anusha Ragunathan Date: Thu, 11 Aug 2016 15:40:46 -0700 Subject: [PATCH] Add plugin mediatype to distribution manifest. This is required for github.com/docker/docker/pull/25582 Signed-off-by: Anusha Ragunathan --- manifest/schema2/manifest.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifest/schema2/manifest.go b/manifest/schema2/manifest.go index 355b5ad4e..87b9d62eb 100644 --- a/manifest/schema2/manifest.go +++ b/manifest/schema2/manifest.go @@ -17,6 +17,9 @@ const ( // MediaTypeConfig specifies the mediaType for the image configuration. MediaTypeConfig = "application/vnd.docker.container.image.v1+json" + // MediaTypePluginConfig specifies the mediaType for plugin configuration. + MediaTypePluginConfig = "application/vnd.docker.plugin.v0+json" + // MediaTypeLayer is the mediaType used for layers referenced by the // manifest. MediaTypeLayer = "application/vnd.docker.image.rootfs.diff.tar.gzip"