Merge pull request #2051 from vieux/update_plugin_media_typev1

switch to v1 and remove .image
This commit is contained in:
Stephen Day 2016-11-10 11:49:48 -08:00 committed by GitHub
commit 4ad885a672
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ the resources they reference:
- `application/vnd.docker.container.image.v1+json`: Container config JSON - `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.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.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 ## Manifest List

View File

@ -18,7 +18,7 @@ const (
MediaTypeConfig = "application/vnd.docker.container.image.v1+json" MediaTypeConfig = "application/vnd.docker.container.image.v1+json"
// MediaTypePluginConfig specifies the mediaType for plugin configuration. // 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 // MediaTypeLayer is the mediaType used for layers referenced by the
// manifest. // manifest.