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

elastic/eland Docker hub image is missing. #607

Closed
glynnbird opened this issue Sep 22, 2023 · 4 comments
Closed

elastic/eland Docker hub image is missing. #607

glynnbird opened this issue Sep 22, 2023 · 4 comments

Comments

@glynnbird
Copy link

Following the instructions in this repo, when I try to do:

docker build -t elastic/eland .

but it seems the elastic/eland image is missing from Docker Hub. This definitely worked a few weeks ago!

I checked on Docker Hub and the "elastic" user doesn't appear to have an image called "eland": https://hub.docker.com/u/elastic/.

And the page where eland would be 404s: https://hub.docker.com/r/elastic/eland.

@pquentin
Copy link
Member

Hello! While we're working on making a Docker image available (subscribe to #407 to know when it's ready) for updates, we never published a single image so far. What docker build -t elastic/eland . does is building the Eland Docker image locally.

Do you get an error when doing that?

@glynnbird
Copy link
Author

I may be dreaming, but I'm sure the other week when I did something similar to:

 docker run -it --rm --network host \
    elastic/eland \
    eland_import_hub_model \
      --url http://host.docker.internal:9200/ \
      --hub-model-id elastic/distilbert-base-cased-finetuned-conll03-english \
      --task-type ner

I thought Docker had downladed the "elastic/eland" image from Docker Hub and then ran it locally with the supplied options. I may have misunderstood the mechanism.

But today, docker run -it elastic/eland .... errors with:

docker: Error response from daemon: pull access denied for elastic/eland, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

@pquentin
Copy link
Member

pquentin commented Sep 22, 2023

If you run docker build -t elastic/eland . first, this docker run command will find an image with the elastic/eland tag (the one you just built) and won't try finding a non existent image on the Internet.

@glynnbird
Copy link
Author

Thanks that must be it! I wrongly assumed elastic/eland was a reference to a published Docker image. Thanks for the help.

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

2 participants