Skip to content

docker manifest inspect does not support OCI images? #43126

@wzshiming

Description

@wzshiming

Description

Describe the results you received:

> docker manifest inspect docker.m.daocloud.io/golang:1.17.3
no such manifest: docker.m.daocloud.io/golang:1.17.3
> docker buildx imagetools inspect docker.m.daocloud.io/golang:1.17.3
Name:      docker.m.daocloud.io/golang:1.17.3
MediaType: application/vnd.oci.image.index.v1+json
Digest:    sha256:00f6afcec789bed8468b613a657a6e2f5b6ead1412cd4f404e79d1ae3b787e5f

Manifests:
  Name:      docker.m.daocloud.io/golang:1.17.3@sha256:5fb34590a42d3b17619993a00e8ea9e51fecf8374293e0c10cab19c4543537dc
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  linux/amd64

  Name:      docker.m.daocloud.io/golang:1.17.3@sha256:d380bb7ecfcf2eb9dd317659f019dfe3b92a18ea4a4e988e7efd36fd97d8c580
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  linux/arm/v5

  Name:      docker.m.daocloud.io/golang:1.17.3@sha256:42c2643433d1ac66331d71f4080b3b18ecdc4b2bd29f432d3ca303990e59d43d
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  linux/arm/v7

  Name:      docker.m.daocloud.io/golang:1.17.3@sha256:c5ecc340ed18a3b320d1b888e954f33e7cbd896104c498c5199305bdca60d680
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  linux/arm64/v8

  Name:      docker.m.daocloud.io/golang:1.17.3@sha256:ca8742f4191438835480070669f54472a527d97b924115c62735d6475dfaa24b
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  linux/386

  Name:      docker.m.daocloud.io/golang:1.17.3@sha256:48e8651da5afa8dbe7e99511e2a5351cb4dca3477e76cb823b8f20a38ef01b56
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  linux/mips64le

  Name:      docker.m.daocloud.io/golang:1.17.3@sha256:68e6386aeb3490ed5390477ff036fc214b148a320f01214599ae304e359d391d
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  linux/ppc64le

  Name:      docker.m.daocloud.io/golang:1.17.3@sha256:ee19b6cc79d941cd30014730b3f2757aec9163184207076af81733e72d8ac233
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  linux/s390x

  Name:      docker.m.daocloud.io/golang:1.17.3@sha256:cfa2535c810f9ffe3d2c51b02f357517069a8bcbc4debe8e6a64458da3f1cf70
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  windows/amd64
  OSVersion: 10.0.20348.350

  Name:      docker.m.daocloud.io/golang:1.17.3@sha256:c4f2c99a3459333a32bbf625d708a5b19d4a6d0c235951532084366a06f7c4e4
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  windows/amd64
  OSVersion: 10.0.17763.2300

  Name:      docker.m.daocloud.io/golang:1.17.3@sha256:76cdf6cb03bc4243a89e31e36c38f0dc006fcda8f04501849305d928023d8351
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  windows/amd64
  OSVersion: 10.0.14393.4770

Describe the results you expected:

docker manifest inspect is working

Additional information you deem important (e.g. issue happens only occasionally):

Output of docker version:

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Build with BuildKit (Docker Inc., v0.6.0)
  compose: Docker Compose (Docker Inc., v2.2.1)
  scan: Docker Scan (Docker Inc., v0.14.0)

Server:
 Containers: 3
  Running: 1
  Paused: 0
  Stopped: 2
 Images: 55
 Server Version: 20.10.11
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7b11cfaabd73bb80907dd23182b9347b4245eb5d
 runc version: v1.0.2-0-g52b36a2
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
  cgroupns
 Kernel Version: 5.10.76-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 1
 Total Memory: 1.94GiB
 Name: docker-desktop
 ID: PKX3:HZ5D:AALA:3LVP:O3SI:JVMY:5OU6:JRLZ:IO27:J3XU:MMLC:GHXH
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: true
 Insecure Registries:
  0.0.0.0/0
  127.0.0.0/8
 Live Restore Enabled: false

Output of docker info:

Client:
 Cloud integration: v1.0.22
 Version:           20.10.11
 API version:       1.41
 Go version:        go1.16.10
 Git commit:        dea9396
 Built:             Thu Nov 18 00:36:09 2021
 OS/Arch:           darwin/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.11
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.9
  Git commit:       847da18
  Built:            Thu Nov 18 00:35:39 2021
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          1.4.12
  GitCommit:        7b11cfaabd73bb80907dd23182b9347b4245eb5d
 runc:
  Version:          1.0.2
  GitCommit:        v1.0.2-0-g52b36a2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Additional environment details (AWS, VirtualBox, physical, etc.):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions