Skip to content

"Docker Image Manifest Query" image has invalid manifest list #58

Closed

Description

@ibuildthecloud

Due to a bug in Docker some multi-arch manifest lists have the wrong size in them. This bug has since been fixed in Docker 18.09 docker/cli#1156 but the manifests in the registry still need to be updated. Docker does not appear to validate the size, but containerd does. So you will see an issue pulling rgee0/of-mquery:1.0 on kubernetes using containerd as the CRI implementation.

The manifest list for rgee0/of-mquery:1.0 needs to be updated and repushed to docker hub.

Activity

  1. alexellis commented on Feb 1, 2019

    @alexellis
    Member

    @rgee0 please could you look into this? Thank you

  2. rgee0 commented on Feb 1, 2019

    @rgee0
    Contributor

    I'm not sure Ryan will be looking at this, so I've taken a look instead:

    $ docker version
    Client: Docker Engine - Community
     Version:           18.09.1
     API version:       1.39
     Go version:        go1.10.6
     Git commit:        4c52b90
     Built:             Wed Jan  9 19:33:12 2019
     OS/Arch:           darwin/amd64
     Experimental:      true
    
    Server: Docker Engine - Community
     Engine:
      Version:          18.09.1
      API version:      1.39 (minimum version 1.12)
      Go version:       go1.10.6
      Git commit:       4c52b90
      Built:            Wed Jan  9 19:41:49 2019
      OS/Arch:          linux/amd64
      Experimental:     true
    

    Not sure if I'm looking in the right place, but version 1.0 is showing the same as the newly built 1.2.

    $ docker manifest inspect rgee0/of-mquery:1.0
    {
       "schemaVersion": 2,
       "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
       "manifests": [
          {
             "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
             "size": 1578,
             "digest": "sha256:f6b72193133c50649c225fb52f662047dd4ba2a8e466f1573be870a2543b7d8e",
             "platform": {
                "architecture": "arm",
                "os": "linux",
                "variant": "v7"
             }
          },
          {
             "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
             "size": 1371,
             "digest": "sha256:5f22206eeada34fecf3dce21e736304d1240554930a560b7fbaf596d1189237f",
             "platform": {
                "architecture": "amd64",
                "os": "linux"
             }
          }
       ]
    }
    $ docker manifest inspect rgee0/of-mquery:1.2
    {
       "schemaVersion": 2,
       "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
       "manifests": [
          {
             "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
             "size": 1578,
             "digest": "sha256:12308480f6b4145cfc1eac73b9d7b7ea99f85b30006cca2280e9ff31efd9e87a",
             "platform": {
                "architecture": "arm",
                "os": "linux",
                "variant": "v7"
             }
          },
          {
             "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
             "size": 1371,
             "digest": "sha256:84cb3ffa9c5a7b42bd6042482459a2c523cda6ed7ea3e3d5577094175a9c1320",
             "platform": {
                "architecture": "amd64",
                "os": "linux"
             }
          }
       ]
    }
    
  3. alexellis commented on Feb 1, 2019

    @alexellis
    Member

    Oops rgee/rgee0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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