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

Error downloading 20.0.5-slim on linux/amd64

safwank opened this issue · comments

I'm having issues downloading the latest image. It might have something to do with the recent changes to support multiple architectures.

$ docker run erlang:20.0.5-slim
Unable to find image 'erlang:20.0.5-slim' locally
20.0.5-slim: Pulling from library/erlang
docker: no matching manifest for linux/amd64 in the manifest list entries.

I see the same for erlang:latest

$ docker run -it erlang
Unable to find image 'erlang:latest' locally
latest: Pulling from library/erlang
docker: no matching manifest for linux/amd64 in the manifest list entries.
See 'docker run --help'.
$ docker -v
Docker version 17.06.2-ce, build cec0b72
commented

Have the same issue.

commented

it looks like a registry issue, does @tianon have any idea?

I'm talking with registry API by https://docs.docker.com/registry/spec/api/#pulling-an-image

GET https://registry-1.docker.io/v2/library/erlang/tags/list
Authorization: Bearer :token

# returns a list of tags

GET https://registry-1.docker.io/v2/library/erlang/manifests/20.0.4
Authorization: Bearer :token

# all the older tags are still ok; returns the good manifest in schemaVersion 1

GET https://registry-1.docker.io/v2/library/erlang/manifests/20.0.4
Authorization: Bearer :token
Accept: application/vnd.docker.distribution.manifest.v2+json

# use Accept to get good manifest in schemaVersion 2

GET https://registry-1.docker.io/v2/library/erlang/manifests/20.0.5
Authorization: Bearer :token
Accept: application/vnd.docker.distribution.manifest.v2+json

# however, try to get manifests for 20.0.5 or latest or any other newer tags returns
# MANIFEST_UNKNOWN
#    with Accept header or without, v1 or v2

HTTP/1.1 404 Not Found
Content-Type: application/json; charset=utf-8
Docker-Distribution-Api-Version: registry/2.0
Date: Tue, 19 Sep 2017 17:05:56 GMT
Content-Length: 70
Connection: close
Strict-Transport-Security: max-age=31536000
Request duration: 0.207446s

{
  "errors": [
    {
      "code": "MANIFEST_UNKNOWN",
      "message": "manifest unknown"
    }
  ]
}

This is the same as docker-library/ruby#159; see specifically docker-library/ruby#159 (comment).

You can see the build progress of new erlang images here: https://doi-janky.infosiftr.net/job/multiarch/view/images/view/erlang/.

commented

I see now resolved.

I've filed docker-library/official-images#3835 in order to have a central place to track this problem globally more directly. 👍 ❤️