logo
docker.io/elastic/elasticsearch:8.18.2
linux/amd64 docker.io
Elasticsearch 是一个分布式搜索和分析引擎,旨在解决海量数据检索的问题。它支持多种存储介质,包括本地文件系统、HDFS 和 Amazon S3 等。Elasticsearch 提供了高度可扩展的结构化和非结构化数据检索功能。
7
浏览次数
714.73MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/elastic/elasticsearch:8.18.2
源镜像
docker.io/elastic/elasticsearch:8.18.2
镜像ID
sha256:7506a97309af9fa3221ce1d60068223aabb613afe96c1d3a0add5f6bb0e0b61c
镜像 TAG
8.18.2
镜像大小
714.73MB
平台架构
linux/amd64
镜像源
docker.io
CMD
eswrapper
启动入口
/bin/tini -- /usr/local/bin/docker-entrypoint.sh
工作目录
/usr/share/elasticsearch
OS/平台
linux/amd64
镜像创建
2025-05-23T10:14:58.871703978Z
同步时间
2026-08-07 01:22
浏览量
7 次
贡献者
🔌 开放端口 2
9200/tcp 9300/tcp
⚙️ 环境变量 3
KeyValue
PATH=/usr/share/elasticsearch/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
ELASTIC_CONTAINER=true 1
SHELL=/bin/bash 2
🏷️ 镜像标签 20
KeyValue
2025-05-23T10:07:06.210694702Z org.label-schema.build-date
Elastic-License-2.0 org.label-schema.license
Elasticsearch org.label-schema.name
1.0 org.label-schema.schema-version
https://www.elastic.co/products/elasticsearch org.label-schema.url
https://www.elastic.co/guide/en/elasticsearch/reference/index.html org.label-schema.usage
c6b8d8d951c631db715485edc1a74190cdce4189 org.label-schema.vcs-ref
https://github.com/elastic/elasticsearch org.label-schema.vcs-url
Elastic org.label-schema.vendor
8.18.2 org.label-schema.version
2025-05-23T10:07:06.210694702Z org.opencontainers.image.created
https://www.elastic.co/guide/en/elasticsearch/reference/index.html org.opencontainers.image.documentation
Elastic-License-2.0 org.opencontainers.image.licenses
ubuntu org.opencontainers.image.ref.name
c6b8d8d951c631db715485edc1a74190cdce4189 org.opencontainers.image.revision
https://github.com/elastic/elasticsearch org.opencontainers.image.source
Elasticsearch org.opencontainers.image.title
https://www.elastic.co/products/elasticsearch org.opencontainers.image.url
Elastic org.opencontainers.image.vendor
8.18.2 org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/elastic/elasticsearch:8.18.2
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/elastic/elasticsearch:8.18.2  docker.io/elastic/elasticsearch:8.18.2

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/elastic/elasticsearch:8.18.2
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/elastic/elasticsearch:8.18.2  docker.io/elastic/elasticsearch:8.18.2

Shell快速替换命令

sed -i 's#elastic/elasticsearch:8.18.2#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/elastic/elasticsearch:8.18.2#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/elastic/elasticsearch:8.18.2 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/elastic/elasticsearch:8.18.2  docker.io/elastic/elasticsearch:8.18.2'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/elastic/elasticsearch:8.18.2 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/elastic/elasticsearch:8.18.2  docker.io/elastic/elasticsearch:8.18.2'

镜像构建历史


# 2025-05-23 18:14:58  0.00B 指定运行容器时使用的用户
USER 1000:0
                        
# 2025-05-23 18:14:58  0.00B 设置默认要执行的命令
CMD ["eswrapper"]
                        
# 2025-05-23 18:14:58  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/bin/tini" "--" "/usr/local/bin/docker-entrypoint.sh"]
                        
# 2025-05-23 18:14:58  0.00B 添加元数据标签
LABEL org.label-schema.build-date=2025-05-23T10:07:06.210694702Z org.label-schema.license=Elastic-License-2.0 org.label-schema.name=Elasticsearch org.label-schema.schema-version=1.0 org.label-schema.url=https://www.elastic.co/products/elasticsearch org.label-schema.usage=https://www.elastic.co/guide/en/elasticsearch/reference/index.html org.label-schema.vcs-ref=c6b8d8d951c631db715485edc1a74190cdce4189 org.label-schema.vcs-url=https://github.com/elastic/elasticsearch org.label-schema.vendor=Elastic org.label-schema.version=8.18.2 org.opencontainers.image.created=2025-05-23T10:07:06.210694702Z org.opencontainers.image.documentation=https://www.elastic.co/guide/en/elasticsearch/reference/index.html org.opencontainers.image.licenses=Elastic-License-2.0 org.opencontainers.image.revision=c6b8d8d951c631db715485edc1a74190cdce4189 org.opencontainers.image.source=https://github.com/elastic/elasticsearch org.opencontainers.image.title=Elasticsearch org.opencontainers.image.url=https://www.elastic.co/products/elasticsearch org.opencontainers.image.vendor=Elastic org.opencontainers.image.version=8.18.2
                        
# 2025-05-23 18:14:58  0.00B 声明容器运行时监听的端口
EXPOSE map[9200/tcp:{} 9300/tcp:{}]
                        
# 2025-05-23 18:14:58  192.51KB 执行命令并创建新的镜像层
RUN /bin/sh -c /etc/ca-certificates/update.d/docker-openjdk # buildkit
                        
# 2025-05-23 18:14:58  20.48KB 复制新文件或目录到容器中
COPY bin/docker-openjdk /etc/ca-certificates/update.d/docker-openjdk # buildkit
                        
# 2025-05-23 18:14:58  577.54KB 执行命令并创建新的镜像层
RUN /bin/sh -c chmod g=u /etc/passwd &&     chmod 0555 /usr/local/bin/docker-entrypoint.sh &&     find / -xdev -perm -4000 -exec chmod ug-s {} + &&     chmod 0775 /usr/share/elasticsearch &&     chown elasticsearch bin config config/jvm.options.d data logs plugins # buildkit
                        
# 2025-05-23 18:14:57  20.48KB 复制新文件或目录到容器中
COPY bin/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh # buildkit
                        
# 2025-05-23 18:14:57  0.00B 设置环境变量 SHELL
ENV SHELL=/bin/bash
                        
# 2025-05-23 18:14:57  0.00B 设置环境变量 PATH
ENV PATH=/usr/share/elasticsearch/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-05-23 18:14:57  36.86KB 复制新文件或目录到容器中
COPY /bin/tini /bin/tini # buildkit
                        
# 2025-05-23 18:14:57  1.24GB 复制新文件或目录到容器中
COPY /usr/share/elasticsearch /usr/share/elasticsearch # buildkit
                        
# 2025-05-23 18:14:31  4.10KB 设置工作目录为/usr/share/elasticsearch
WORKDIR /usr/share/elasticsearch
                        
# 2025-05-23 18:14:31  0.00B 设置环境变量 ELASTIC_CONTAINER
ENV ELASTIC_CONTAINER=true
                        
# 2025-05-23 18:14:30  409.60KB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd -g 1000 elasticsearch &&     adduser --uid 1000 --gid 1000 --home /usr/share/elasticsearch elasticsearch &&     adduser elasticsearch root &&     chown -R 0:0 /usr/share/elasticsearch # buildkit
                        
# 2025-05-23 18:14:30  20.64MB 执行命令并创建新的镜像层
RUN /bin/sh -c yes no | dpkg-reconfigure dash &&     for iter in 1 2 3 4 5 6 7 8 9 10; do       export DEBIAN_FRONTEND=noninteractive &&       apt-get update &&       apt-get upgrade -y &&       apt-get install -y --no-install-recommends         ca-certificates curl netcat p11-kit unzip zip  &&       apt-get clean &&       rm -rf /var/lib/apt/lists/* &&       exit_code=0 && break ||         exit_code=$? && echo "apt-get error: retry $iter in 10s" && sleep 10;     done;     exit $exit_code # buildkit
                        
# 2025-04-08 18:42:48  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2025-04-08 18:42:48  81.66MB 
/bin/sh -c #(nop) ADD file:f9ee450324e6ff2c946bc9aae5cf7e35e240dbd387d8b9f5ee1ed5b8434b9894 in / 
                        
# 2025-04-08 18:42:46  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=20.04
                        
# 2025-04-08 18:42:46  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2025-04-08 18:42:46  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2025-04-08 18:42:46  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:7506a97309af9fa3221ce1d60068223aabb613afe96c1d3a0add5f6bb0e0b61c",
    "RepoTags": [
        "elastic/elasticsearch:8.18.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/elastic/elasticsearch:8.18.2"
    ],
    "RepoDigests": [
        "elastic/elasticsearch@sha256:7506a97309af9fa3221ce1d60068223aabb613afe96c1d3a0add5f6bb0e0b61c",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/elastic/elasticsearch@sha256:7506a97309af9fa3221ce1d60068223aabb613afe96c1d3a0add5f6bb0e0b61c"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-05-23T10:14:58.871703978Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "1000:0",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "9200/tcp": {},
            "9300/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/share/elasticsearch/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "ELASTIC_CONTAINER=true",
            "SHELL=/bin/bash"
        ],
        "Cmd": [
            "eswrapper"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/usr/share/elasticsearch",
        "Entrypoint": [
            "/bin/tini",
            "--",
            "/usr/local/bin/docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.label-schema.build-date": "2025-05-23T10:07:06.210694702Z",
            "org.label-schema.license": "Elastic-License-2.0",
            "org.label-schema.name": "Elasticsearch",
            "org.label-schema.schema-version": "1.0",
            "org.label-schema.url": "https://www.elastic.co/products/elasticsearch",
            "org.label-schema.usage": "https://www.elastic.co/guide/en/elasticsearch/reference/index.html",
            "org.label-schema.vcs-ref": "c6b8d8d951c631db715485edc1a74190cdce4189",
            "org.label-schema.vcs-url": "https://github.com/elastic/elasticsearch",
            "org.label-schema.vendor": "Elastic",
            "org.label-schema.version": "8.18.2",
            "org.opencontainers.image.created": "2025-05-23T10:07:06.210694702Z",
            "org.opencontainers.image.documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/index.html",
            "org.opencontainers.image.licenses": "Elastic-License-2.0",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.revision": "c6b8d8d951c631db715485edc1a74190cdce4189",
            "org.opencontainers.image.source": "https://github.com/elastic/elasticsearch",
            "org.opencontainers.image.title": "Elasticsearch",
            "org.opencontainers.image.url": "https://www.elastic.co/products/elasticsearch",
            "org.opencontainers.image.vendor": "Elastic",
            "org.opencontainers.image.version": "8.18.2"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 714732278,
    "GraphDriver": {
        "Data": null,
        "Name": "overlayfs"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:470b66ea5123c93b0d5606e4213bf9e47d3d426b640d32472e4ac213186c4bb6",
            "sha256:15c2a73163331178088d2a0783dfe08c46b5ea7764a455ddc1def8de13fae582",
            "sha256:5ad0aa14739e3de3b8641025f4465568cdba57fb3cb3f88eacf2afcb10d57c46",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:1165c2dd5198d52cb105b51ffc9f2371a4d2792ac96ca0f17e7573a3cebb5e00",
            "sha256:eae1e58afc45d755acd9175fa1ed579ec3c22496c261a05665b12d866e57d049",
            "sha256:c1a633ce1569c537d0294253178bd9cc5611a1fd0f13cc4d718def6de6f49161",
            "sha256:49b996095f6eecfabc27dea773e0cac2e2c77c89c40823652238dea70c59a90d",
            "sha256:2847b91e0097779d06d0fa4464313006665dc2835abf30f42f372e38cc74ea4f",
            "sha256:ab1a950757447cc6ddc06b22faa9a53599a9757564e06b4a5bd258dd87630956"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-08-06T16:54:37.921114276Z"
    }
}

更多版本

docker.io/elastic/elasticsearch:8.15.1

linux/amd64 docker.io1.26GB2024-09-19 13:36
710

docker.io/elastic/elasticsearch:7.6.1

linux/amd64 docker.io790.38MB2024-10-30 16:27
487

docker.io/elastic/elasticsearch:8.11.4

linux/amd64 docker.io1.41GB2024-10-30 21:52
603

docker.io/elastic/elasticsearch:8.17.5

linux/arm64 docker.io855.71MB2025-04-29 15:39
296

docker.io/elastic/elasticsearch:7.17.27

linux/amd64 docker.io634.09MB2025-05-12 10:06
295

docker.io/elastic/elasticsearch:8.17.7

linux/amd64 docker.io1.30GB2025-07-09 16:10
287

docker.io/elastic/elasticsearch:7.17.27

linux/arm64 docker.io623.75MB2025-09-06 00:20
231

docker.io/elastic/elasticsearch:7.4.2

linux/amd64 docker.io855.46MB2025-11-11 20:17
167

docker.io/elastic/elasticsearch:7.17.26

linux/amd64 docker.io634.09MB2025-11-23 20:30
217

docker.io/elastic/elasticsearch:8.18.8

linux/amd64 docker.io1.38GB2026-06-29 17:32
75

docker.io/elastic/elasticsearch:8.19.16

linux/amd64 docker.io1.40GB2026-07-16 14:43
56

docker.io/elastic/elasticsearch:8.19.18

linux/amd64 docker.io1.42GB2026-07-23 09:51
50

docker.io/elastic/elasticsearch:8.18.2

linux/amd64 docker.io714.73MB2026-08-07 01:22
6
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×