erlang / docker-erlang-otp

the Official Erlang OTP image on Docker Hub

Home Page:https://hub.docker.com/_/erlang/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker manifest for erlang:20 missing amd64 architecture

ryan-mahoney opened this issue · comments

running the command: docker pull erlang:20 returns no matching manifest for linux/amd64 in the manifest list entries.

Upon inspection with docker manifest inspect erlang:20, you can see that it is not available:

{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 2010,
         "digest": "sha256:b51cfaa66cbaff81010c1fd9cd5a3786a63e13974f022c32ffa2c2f2fc822a0d",
         "platform": {
            "architecture": "arm",
            "os": "linux",
            "variant": "v7"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 2010,
         "digest": "sha256:f37d957729f8c72266fb451c14c5cbd810fac12a86e72a2d9323b636071eaffb",
         "platform": {
            "architecture": "arm64",
            "os": "linux",
            "variant": "v8"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 2010,
         "digest": "sha256:0c5e751bda31f42b922d6c093fef91f1a777b9385d5fa3bd5be3854a8c05483a",
         "platform": {
            "architecture": "ppc64le",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 2011,
         "digest": "sha256:84183ad190cf770bb5f76b330261791f2cb0d3de1c0d5a890012b8513d789093",
         "platform": {
            "architecture": "s390x",
            "os": "linux"
         }
      }
   ]
}

Will this be fixed? I assume that it is not intentional. It is available for erlang:21, but our application is currently not compatible with 21 and we are hoping to continue using erlang:20 on the linux/amd64 platform.

commented

yes, my docker daemon shows this log when running docker pull erlang:20; it tries to ask https://registry-1.docker.io Registry with v2 API, this Registry server responded a manifestList object with 4 entries, but none for amd64; this should be a Docker Hub's temporary issue,
#156 (comment)

DEBU[2018-08-29T11:34:38.281031147-07:00] Calling GET /_ping                           
DEBU[2018-08-29T11:34:38.282039147-07:00] Calling GET /v1.30/info                      
DEBU[2018-08-29T11:34:38.339620136-07:00] Calling POST /v1.30/images/create?fromImage=erlang&tag=20 
DEBU[2018-08-29T11:34:38.339849788-07:00] Trying to pull erlang from https://registry-1.docker.io v2 
DEBU[2018-08-29T11:34:39.658829553-07:00] Pulling ref from V2 registry: erlang:20      
DEBU[2018-08-29T11:34:39.658922416-07:00] docker.io/library/erlang:20 resolved to a manifestList object with 4 entries; looking for a os/arch match 
DEBU[2018-08-29T11:34:39.658953069-07:00] no matching manifest for linux/amd64 in the manifest list entries 
INFO[2018-08-29T11:34:39.658983208-07:00] Attempting next endpoint for pull after error: no matching manifest for linux/amd64 in the manifest list entries 
commented

run the same command from #156 (comment) to check registry shows amd64 now, and there's no problem docker pull erlang:20

$ curl -s https://registry.hub.docker.com/v2/repositories/library/erlang/tags/20/ | ~/bin/jq
{
  "name": "20",
  "full_size": 464522892,
  "images": [
    {
      "size": 457354230,
      "architecture": "s390x",
      "variant": null,
      "features": null,
      "os": "linux",
      "os_version": null,
      "os_features": null
    },
    {
      "size": 457140394,
      "architecture": "ppc64le",
      "variant": null,
      "features": null,
      "os": "linux",
      "os_version": null,
      "os_features": null
    },
    {
      "size": 442563562,
      "architecture": "arm64",
      "variant": null,
      "features": null,
      "os": "linux",
      "os_version": null,
      "os_features": null
    },
    {
      "size": 429434615,
      "architecture": "arm",
      "variant": null,
      "features": null,
      "os": "linux",
      "os_version": null,
      "os_features": null
    },
    {
      "size": 464522892,
      "architecture": "amd64",
      "variant": null,
      "features": null,
      "os": "linux",
      "os_version": null,
      "os_features": null
    }
  ],
  "id": 13020340,
  "repository": 399020,
  "creator": 2215,
  "last_updater": 1156886,
  "last_updated": "2018-08-29T23:44:19.989228Z",
  "image_id": null,
  "v2": true
}