Closed glynnbird closed 11 months ago
Hello! While we're working on making a Docker image available (subscribe to https://github.com/elastic/eland/issues/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?
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.
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.
Thanks that must be it! I wrongly assumed elastic/eland
was a reference to a published Docker image. Thanks for the help.
Following the instructions in this repo, when I try to do:
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.