Docker manifest指令



未开启 experimental 特性,无法使用manifest指令

[ ~]# docker manifest inspec docker:17.05
docker manifest is only supported on a Docker cli with experimental cli features enabled
[ ~]#



➜ /Users/stephen/Documents/WorkDir/docker >docker manifest inspect elasticsearch:7.16.2
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 2204,
         "digest": "sha256:3e82c0aefb87f2b716d0d09ffc252076b200a05eb1692c795dcb5c3057952477",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 2204,
         "digest": "sha256:5837d1482e31630c7c8f0b309743361c260c50749dd2ca14d96b8950f727993b",
         "platform": {
            "architecture": "arm64",
            "os": "linux",
            "variant": "v8"


A single manifest is information about an image, such as layers, size, and digest. The docker manifest command also gives users additional information such as the os and architecture an image was built for.
  • layers
  • size
  • digest
  • os/arch


Command Description
docker manifest annotate Add additional information to a local image manifest
docker manifest create Create a local manifest list for annotating and pushing to a registry
docker manifest inspect Display an image manifest, or manifest list
docker manifest push Push a manifest list to a repository
docker manifest rm Delete one or more manifest lists from local storage
posted @ 2021-12-28 19:17  That's_it  阅读(810)  评论(0编辑  收藏  举报