Manifest for jenkins/jenkins not found

Hi community,

i suddenly can’t pull current jenkins/jenkins images anymore.

The last image I can pull is jenkins:2.386
“docker pull jenkins/jenkins:2.386”

But with all later ones it comes (e.g. docker pull jenkins/jenkins:2.394)
“Error response from daemon: manifest for jenkins/jenkins[any version] not found”

What could be the reason for this?

My arch:
4.15.0-166-generic #174-Ubuntu SMP Wed Dec 8 19:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

docker version
Client:
Version: 18.02.0-ce
API version: 1.36
Go version: go1.9.3
Git commit: fc4de44
Built: Wed Feb 7 21:16:33 2018
OS/Arch: linux/amd64
Experimental: false
Orchestrator: swarm

Server:
Engine:
Version: 18.02.0-ce
API version: 1.36 (minimum version 1.12)
Go version: go1.9.3
Git commit: fc4de44
Built: Wed Feb 7 21:15:05 2018
OS/Arch: linux/amd64
Experimental: false

Can anyone help me with this?

Hi

But that version/tag you’re trying, dosnt exist:
https://hub.docker.com/_/jenkins/tags?page=1&name=2.386

You searched for the version tag in the official repository, but rokago used jenkins/jenkins, the OSS repository.

https://hub.docker.com/r/jenkins/jenkins/tags?page=1&name=2.386

The repo works well for me, I could even pull v2.394, but my Docker version is newer, not the old 18.02-ce. Since I tried on macOS from Docker Desktop.

Using hub-tool to compare the images I can see that the new image has different format:

hub-tool tag inspect jenkins/jenkins:2.386 --format json
{
  "schemaVersion": 2,
  "manifests": [
    {
      "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
      "digest": "sha256:525e788d8da728a26b92673a684e46f890d0bb72973e98cac0573768cfd5f4f2",
      "size": 3040,
      "platform": {
        "architecture": "amd64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
      "digest": "sha256:5f05b0783dba5aaed99b61eabc28a53275cacb3a1e9dbd8b1863a91b6efa5b9e",
      "size": 3040,
      "platform": {
        "architecture": "arm64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
      "digest": "sha256:4cea9185a270851fe12821b945ead1bd57670962331c541a5c60b1b3ebdbdb30",
      "size": 3040,
      "platform": {
        "architecture": "s390x",
        "os": "linux"
      }
    }
  ]
}
hub-tool tag inspect jenkins/jenkins:2.394 --format json
{
  "schemaVersion": 2,
  "manifests": [
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:26fea149258abd3f0f166da9ba519e46b496147b557842c3cdcb68fb10a512a5",
      "size": 2765,
      "platform": {
        "architecture": "amd64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:13b55bfcd41f747ebf69dd7d563fc769bcde3cc73c353ab3c4be8b6d78fdfe9d",
      "size": 2765,
      "platform": {
        "architecture": "arm64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:65656e932cf369b8c8d6682faaeaaf1d02374d13c76ed07b60dd9f439c6c433f",
      "size": 2765,
      "platform": {
        "architecture": "s390x",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:a8bceebb329de38fa9347a84a9b1368b8495913de61285be263a13485e55d9ec",
      "size": 566,
      "annotations": {
        "vnd.docker.reference.digest": "sha256:26fea149258abd3f0f166da9ba519e46b496147b557842c3cdcb68fb10a512a5",
        "vnd.docker.reference.type": "attestation-manifest"
      },
      "platform": {
        "architecture": "unknown",
        "os": "unknown"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:534152911372ae3004cc63db33480dc064791d37a95b668d8f5b07f512a1abbf",
      "size": 566,
      "annotations": {
        "vnd.docker.reference.digest": "sha256:13b55bfcd41f747ebf69dd7d563fc769bcde3cc73c353ab3c4be8b6d78fdfe9d",
        "vnd.docker.reference.type": "attestation-manifest"
      },
      "platform": {
        "architecture": "unknown",
        "os": "unknown"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:0a7557f0945fe864ebd8f592e24c42240ac6df2061986939d6bbdd386a76a85a",
      "size": 566,
      "annotations": {
        "vnd.docker.reference.digest": "sha256:65656e932cf369b8c8d6682faaeaaf1d02374d13c76ed07b60dd9f439c6c433f",
        "vnd.docker.reference.type": "attestation-manifest"
      },
      "platform": {
        "architecture": "unknown",
        "os": "unknown"
      }
    }
  ]
}

So 2.394 is: application/vnd.oci.image.manifest.v1+json but 2.386 is application/vnd.docker.distribution.manifest.v2+json

Docker 18.02 was probably not compatible with the the OCI image manifest If it is the case, the solution is to upgrade Docker to a more recent version.

Oh I haven’t even thought of this approach. I’ll see if I can update the Docker version. Thanks already now.

Sometimes things can be so simple. In my case, a simple Docker update.

@rimelek , thank you so much for your help.