Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error downloading 20.0.5-slim on linux/amd64 #75

Closed
safwank opened this issue Sep 19, 2017 · 6 comments
Closed

Error downloading 20.0.5-slim on linux/amd64 #75

safwank opened this issue Sep 19, 2017 · 6 comments

Comments

@safwank
Copy link

safwank commented Sep 19, 2017

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.
@peffis
Copy link

peffis commented Sep 19, 2017

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

@crestenstclair
Copy link

Have the same issue.

@c0b
Copy link
Collaborator

c0b commented Sep 19, 2017

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"
    }
  ]
}

@yosifkit
Copy link
Contributor

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/.

@c0b
Copy link
Collaborator

c0b commented Sep 19, 2017

I see now resolved.

@tianon
Copy link
Contributor

tianon commented Dec 21, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants