From b82a2efc336bb1c56064ace2bae5963cc4ae0aeb Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Thu, 10 Nov 2016 11:26:05 -0800 Subject: [PATCH] switch to v1 and remove .image Signed-off-by: Victor Vieux --- docs/spec/manifest-v2-2.md | 1 + manifest/schema2/manifest.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/spec/manifest-v2-2.md b/docs/spec/manifest-v2-2.md index dfbc3742..4b41bb28 100644 --- a/docs/spec/manifest-v2-2.md +++ b/docs/spec/manifest-v2-2.md @@ -30,6 +30,7 @@ the resources they reference: - `application/vnd.docker.container.image.v1+json`: Container config JSON - `application/vnd.docker.image.rootfs.diff.tar.gzip`: "Layer", as a gzipped tar - `application/vnd.docker.image.rootfs.foreign.diff.tar.gzip`: "Layer", as a gzipped tar that should never be pushed +- `application/vnd.docker.plugin.v1+json`: Plugin config JSON ## Manifest List diff --git a/manifest/schema2/manifest.go b/manifest/schema2/manifest.go index 1a128270..741998d0 100644 --- a/manifest/schema2/manifest.go +++ b/manifest/schema2/manifest.go @@ -18,7 +18,7 @@ const ( MediaTypeConfig = "application/vnd.docker.container.image.v1+json" // MediaTypePluginConfig specifies the mediaType for plugin configuration. - MediaTypePluginConfig = "application/vnd.docker.plugin.image.v0+json" + MediaTypePluginConfig = "application/vnd.docker.plugin.v1+json" // MediaTypeLayer is the mediaType used for layers referenced by the // manifest.