
Docker image to:
Add the following services to your docker-compose.yml to integrate an Elasticsearch instance in https://github.com/big-data-europe/app-bde-pipeline:
elasticsearch: image: elasticsearch:2.3 command: elasticsearch -Des.network.host=0.0.0.0 ports: - "9200:9200" - "9300:9300" elasticsearch-mapping-init: environment: - file_url=https://raw.githubusercontent.com/big-data-europe/pilot-sc4-flink-kafka-consumer/master/elasticsearch_fcd_mapping.json - index_name=thessaloniki - mappings_name=floating-cars build: context: . links: - elasticsearch
In addition to Elasticsearch version (for example, 2.3 used above), set the values of the following variables (see environment above):
file_url: the link to the JSON file containing the mappings definition (currently, the file must exist online, so the expected value should look like: http(s)://example.com/path/to/file.json).index_name: give your index a namemappings_name: give your mappings a nameSimply run the following command (of course, Docker and Docker Compose are assumed being installed a priori):
sudo docker-compose up -d
In order to verify your installation is properly working, submit the following HTTP request:
http://localhost:9200
If it returns a JSON object, something starting with:
{ "name" : "Allison Blaire", ...
... then your Elasticsearch instance is up and running.
Next, to check if your mappings have been successfully received and validated (syntactically), submit the following HTTP request:
http://localhost:9200/{index_name}/_mapping/{mappings_name}
... replacing {index_name} and {mappings_name} with the values set previously in the docker-compose.yml file.
If it returns a JSON object, something starting with:
{"{index_name}":{"mappings":{"{mappings_name}-cars":{"...
... then you are all set.
Note: this installs a single-node Elasticsearch instance.
以下是 bde2020/elasticsearch 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。


探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务