Docker manifest
mediaType
在下面后面的文章中需要注意到mediaType
对应的值,其代表了文件的类型,在规范中定义了以下类型:
application/vnd.docker.distribution.manifest.v1+json
: 代表了第一个版本的manifest格式,已经出现了第二个版本了(schemaVersion = 1)application/vnd.docker.distribution.manifest.v2+json
: 代表了新版本的manifest格式 (schemaVersion = 2)application/vnd.docker.distribution.manifest.list.v2+json
: Manifest list,也就是上方示例的manifest list文件application/vnd.docker.container.image.v1+json
: Container config JSONapplication/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