Hello,
Same problem today, you have to adjust the eland image version in order to make it work.
For me, it was:
docker run -it --rm --network host docker.elastic.co/eland/eland:8.12.0 eland_import_hub_model --url https://localhost:9200 -u elastic -p nonprodpwd --hub-model-id sentence-transformers/msmarco-MiniLM-L12-v3 --task-type text_embedding --insecure
Hope It can help.
Ingrid