docker.elastic.co/elasticsearch/elasticsearch:8.6.2 linux/amd64

docker.elastic.co/elasticsearch/elasticsearch:8.6.2 - 国内下载镜像源 浏览次数:14 安全受验证的发布者-Elastic
根据 Docker Hub 的记录,这个镜像的描述信息是:

Official Elasticsearch Docker Image

官方 Elasticsearch Docker 镜像。
源镜像 docker.elastic.co/elasticsearch/elasticsearch:8.6.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elasticsearch/elasticsearch:8.6.2
镜像ID sha256:04485c81cc2d3ae1ae68e8be87f8a5043d71496332680a5b2e58664be95461c5
镜像TAG 8.6.2
大小 1.29GB
镜像源 docker.elastic.co
CMD eswrapper
启动入口 /bin/tini -- /usr/local/bin/docker-entrypoint.sh
工作目录 /usr/share/elasticsearch
OS/平台 linux/amd64
浏览量 14 次
贡献者
镜像创建 2023-02-13T09:42:36.468121955Z
同步时间 2025-02-20 23:00
更新时间 2025-02-21 20:09
开放端口
9200/tcp 9300/tcp
环境变量
PATH=/usr/share/elasticsearch/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ELASTIC_CONTAINER=true
镜像标签
2023-02-13T09:35:20.314882762Z: 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 2d58d0f136141f03239816a4e360a8d17b6d8f29: org.label-schema.vcs-ref https://github.com/elastic/elasticsearch: org.label-schema.vcs-url Elastic: org.label-schema.vendor 8.6.2: org.label-schema.version 2023-02-13T09:35:20.314882762Z: 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 2d58d0f136141f03239816a4e360a8d17b6d8f29: 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.6.2: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 20.04 扫描引擎: Trivy 扫描时间: 2025-02-20 23:00

低危漏洞:93 中危漏洞:131 高危漏洞:25 严重漏洞:0

Docker拉取命令 无权限下载?点我修复

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2023-02-13 17:42:36  0.00B 指定运行容器时使用的用户
USER elasticsearch:root
                        
# 2023-02-13 17:42:36  0.00B 设置默认要执行的命令
CMD ["eswrapper"]
                        
# 2023-02-13 17:42:36  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/bin/tini" "--" "/usr/local/bin/docker-entrypoint.sh"]
                        
# 2023-02-13 17:42:36  0.00B 添加元数据标签
LABEL org.label-schema.build-date=2023-02-13T09:35:20.314882762Z 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=2d58d0f136141f03239816a4e360a8d17b6d8f29 org.label-schema.vcs-url=https://github.com/elastic/elasticsearch org.label-schema.vendor=Elastic org.label-schema.version=8.6.2 org.opencontainers.image.created=2023-02-13T09:35:20.314882762Z 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=2d58d0f136141f03239816a4e360a8d17b6d8f29 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.6.2
                        
# 2023-02-13 17:42:36  0.00B 声明容器运行时监听的端口
EXPOSE map[9200/tcp:{} 9300/tcp:{}]
                        
# 2023-02-13 17:42:36  141.46KB 执行命令并创建新的镜像层
RUN /bin/sh -c /etc/ca-certificates/update.d/docker-openjdk # buildkit
                        
# 2023-02-13 17:42:35  329.00B 复制新文件或目录到容器中
COPY bin/docker-openjdk /etc/ca-certificates/update.d/docker-openjdk # buildkit
                        
# 2023-02-13 17:42:35  506.55KB 执行命令并创建新的镜像层
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
                        
# 2023-02-13 17:42:34  3.51KB 复制新文件或目录到容器中
COPY bin/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh # buildkit
                        
# 2023-02-13 17:42:33  0.00B 设置环境变量 PATH
ENV PATH=/usr/share/elasticsearch/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2023-02-13 17:42:33  24.06KB 复制新文件或目录到容器中
COPY /bin/tini /bin/tini # buildkit
                        
# 2023-02-13 17:42:33  1.20GB 复制新文件或目录到容器中
COPY /usr/share/elasticsearch /usr/share/elasticsearch # buildkit
                        
# 2023-02-13 17:42:08  0.00B 设置工作目录为/usr/share/elasticsearch
WORKDIR /usr/share/elasticsearch
                        
# 2023-02-13 17:42:08  0.00B 设置环境变量 ELASTIC_CONTAINER
ENV ELASTIC_CONTAINER=true
                        
# 2023-02-13 17:42:08  333.94KB 执行命令并创建新的镜像层
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
                        
# 2023-02-13 17:42:06  19.86MB 执行命令并创建新的镜像层
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
                        
# 2023-02-01 19:42:39  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2023-02-01 19:42:39  72.79MB 
/bin/sh -c #(nop) ADD file:8b180a9b4497de0c6e131d6b48cf5c69a885379e63033ab9639d1655991e626c in / 
                        
# 2023-02-01 19:42:37  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=20.04
                        
# 2023-02-01 19:42:37  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2023-02-01 19:42:37  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2023-02-01 19:42:37  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:04485c81cc2d3ae1ae68e8be87f8a5043d71496332680a5b2e58664be95461c5",
    "RepoTags": [
        "docker.elastic.co/elasticsearch/elasticsearch:8.6.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elasticsearch/elasticsearch:8.6.2"
    ],
    "RepoDigests": [
        "docker.elastic.co/elasticsearch/elasticsearch@sha256:1c53c89d04f207beb99d56cc4a1cc23516bd9c386858843d5082a98257c04d1c",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elasticsearch/elasticsearch@sha256:58e27a304bdf15810e965acecbfb0bd455c33d86c85fe46d288495d095fb2cb8"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-02-13T09:42:36.468121955Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "elasticsearch:root",
        "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"
        ],
        "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": "2023-02-13T09:35:20.314882762Z",
            "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": "2d58d0f136141f03239816a4e360a8d17b6d8f29",
            "org.label-schema.vcs-url": "https://github.com/elastic/elasticsearch",
            "org.label-schema.vendor": "Elastic",
            "org.label-schema.version": "8.6.2",
            "org.opencontainers.image.created": "2023-02-13T09:35:20.314882762Z",
            "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": "2d58d0f136141f03239816a4e360a8d17b6d8f29",
            "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.6.2"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1288836896,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/39f5505cab8d700105011d5088ddeb432c392849e7e517d023859933eb2b78f5/diff:/var/lib/docker/overlay2/60a965c33e2d08b1b47629fe7fc71d0eac9cd5561ff8ea61ab1047cb98f7afd5/diff:/var/lib/docker/overlay2/c94a8d12660e7d01287fa4cd0fcf0ce4efdf6a14fce26952b3c27d7ba8415dad/diff:/var/lib/docker/overlay2/b14592e980a045158521c1b51b36ea94e0e58f3b5962f8af516a568bc0afeb0e/diff:/var/lib/docker/overlay2/faf0f63fa13bfac7f21bd5814b8c8fdc15b86cded175b24cd7645a5e1dbc039d/diff:/var/lib/docker/overlay2/8aabd85fad9d586372ecfe1ee5f68088c294b330d4bd2bec73dd453d987f5d99/diff:/var/lib/docker/overlay2/2877d6ee1aad7d591b145a40590c9a01bd38ca114adf01257cdce3365a0262b2/diff:/var/lib/docker/overlay2/20ef214f534f0532d68efb837e024a043208e81f4c7ae136ad2eda854138a50e/diff:/var/lib/docker/overlay2/a261cb3f68f11b0351d91926bdf6b0402b6f5080934a74d14f09f15a1cf6a981/diff",
            "MergedDir": "/var/lib/docker/overlay2/8cbd543bbc12908f4e29989bce1032d384edb57bd4804894637255704ff3d0aa/merged",
            "UpperDir": "/var/lib/docker/overlay2/8cbd543bbc12908f4e29989bce1032d384edb57bd4804894637255704ff3d0aa/diff",
            "WorkDir": "/var/lib/docker/overlay2/8cbd543bbc12908f4e29989bce1032d384edb57bd4804894637255704ff3d0aa/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:d543b8cad89e3428ac8852a13cb2dbfaf55b1e10fd95a9753e51faf393d60e81",
            "sha256:ed47baea0901f3c54fe357768bc6c9beb0ab03b5f34458026c81d75d88f9c019",
            "sha256:4e3be8ee5b1baf28c1e064e0e0baf681da7d48ed7d57b94cf7dab700edd5be00",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:3287087ae274ce761738abcbb634bd4688fbfd6bf9975f2bcd61156a261d5ad2",
            "sha256:61017983c96acf354714754cc0ab94ecc3bd4a4fbd584fe2d74ca45a5d234ff2",
            "sha256:60de94a98bebc0eb5b0a39627aa0a55361b5ba3b04e02924e8d38fbcac29358a",
            "sha256:ad7d2307e777ea854d0519e10dfc8ecff3640848ec62d7a7a34aba6d09aa8001",
            "sha256:9d38946fce9a4fb05b5a83acd4bfb23840aa2c042c113b5f7456dd8fc0102a74",
            "sha256:f1d9410236fe8befc46ddbd9392b7ca234387dd9f3f3a84f67ef1ef2dce29498"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-02-20T22:59:24.25708728+08:00"
    }
}

更多版本

docker.elastic.co/elasticsearch/elasticsearch:8.12.2-amd64

linux/amd64 docker.elastic.co1.36GB2024-03-26 11:26
381

docker.elastic.co/elasticsearch/elasticsearch:8.12.1

linux/amd64 docker.elastic.co1.37GB2024-03-26 11:29
614

docker.elastic.co/elasticsearch/elasticsearch:7.17.12-amd64

linux/amd64 docker.elastic.co623.37MB2024-03-26 14:27
713

docker.elastic.co/elasticsearch/elasticsearch:8.10.2

linux/amd64 docker.elastic.co1.34GB2024-06-23 18:00
340

docker.elastic.co/elasticsearch/elasticsearch:8.10.2

linux/arm64 docker.elastic.co755.68MB2024-06-23 19:27
427

docker.elastic.co/elasticsearch/elasticsearch:8.14.1

linux/amd64 docker.elastic.co1.24GB2024-06-26 15:49
162

docker.elastic.co/elasticsearch/elasticsearch:7.17.2

linux/amd64 docker.elastic.co611.13MB2024-07-15 14:00
320

docker.elastic.co/elasticsearch/elasticsearch:8.14.2

linux/amd64 docker.elastic.co1.24GB2024-07-19 09:21
318

docker.elastic.co/elasticsearch/elasticsearch:7.6.2

linux/amd64 docker.elastic.co790.68MB2024-07-24 12:13
256

docker.elastic.co/elasticsearch/elasticsearch:7.9.3

linux/amd64 docker.elastic.co741.52MB2024-07-24 12:22
316

docker.elastic.co/elasticsearch/elasticsearch:8.11.3

linux/amd64 docker.elastic.co1.43GB2024-08-08 10:14
405

docker.elastic.co/elasticsearch/elasticsearch:8.12.2

linux/amd64 docker.elastic.co1.36GB2024-08-16 15:53
282

docker.elastic.co/elasticsearch/elasticsearch:8.13.4

linux/amd64 docker.elastic.co1.23GB2024-08-19 10:04
198

docker.elastic.co/elasticsearch/elasticsearch:8.14.3

linux/amd64 docker.elastic.co1.24GB2024-08-22 11:01
502

docker.elastic.co/elasticsearch/elasticsearch:8.7.0

linux/amd64 docker.elastic.co1.33GB2024-09-20 12:04
549

docker.elastic.co/elasticsearch/elasticsearch:8.15.1

linux/amd64 docker.elastic.co1.26GB2024-09-21 10:45
210

docker.elastic.co/elasticsearch/elasticsearch:7.17.16

linux/amd64 docker.elastic.co649.01MB2024-10-03 16:32
135

docker.elastic.co/elasticsearch/elasticsearch:8.13.2

linux/amd64 docker.elastic.co1.24GB2024-10-09 18:12
175

docker.elastic.co/elasticsearch/elasticsearch:7.10.2

linux/amd64 docker.elastic.co813.56MB2024-10-30 11:20
170

docker.elastic.co/elasticsearch/elasticsearch:8.15.3

linux/amd64 docker.elastic.co1.27GB2024-10-30 17:36
178

docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2

linux/arm64 docker.elastic.co742.51MB2024-11-05 18:14
98

docker.elastic.co/elasticsearch/elasticsearch:7.11.2

linux/amd64 docker.elastic.co824.49MB2024-11-06 14:58
109

docker.elastic.co/elasticsearch/elasticsearch:8.5.3

linux/amd64 docker.elastic.co1.29GB2024-11-06 21:50
130

docker.elastic.co/elasticsearch/elasticsearch:8.11.4

linux/amd64 docker.elastic.co1.41GB2024-11-18 17:37
84

docker.elastic.co/elasticsearch/elasticsearch:7.17.25

linux/amd64 docker.elastic.co634.01MB2024-11-19 15:10
108

docker.elastic.co/elasticsearch/elasticsearch:6.8.23

linux/amd64 docker.elastic.co963.30MB2024-11-19 16:00
91

docker.elastic.co/elasticsearch/elasticsearch:6.8.17

linux/amd64 docker.elastic.co936.57MB2024-11-20 14:16
88

docker.elastic.co/elasticsearch/elasticsearch:7.17.23

linux/amd64 docker.elastic.co633.78MB2024-12-05 16:02
81

docker.elastic.co/elasticsearch/elasticsearch:7.17.3

linux/amd64 docker.elastic.co613.35MB2024-12-05 16:13
70

docker.elastic.co/elasticsearch/elasticsearch:8.15.5

linux/amd64 docker.elastic.co1.27GB2024-12-10 11:16
98

docker.elastic.co/elasticsearch/elasticsearch:7.8.1

linux/amd64 docker.elastic.co811.25MB2024-12-13 13:19
112

docker.elastic.co/elasticsearch/elasticsearch:8.12.2

linux/arm64 docker.elastic.co777.32MB2025-01-07 16:58
62

docker.elastic.co/elasticsearch/elasticsearch:7.6.0

linux/amd64 docker.elastic.co790.07MB2025-01-07 19:24
47

docker.elastic.co/elasticsearch/elasticsearch:7.13.3

linux/amd64 docker.elastic.co1.02GB2025-01-12 19:40
54

docker.elastic.co/elasticsearch/elasticsearch:7.17.27

linux/amd64 docker.elastic.co634.09MB2025-01-19 17:37
72

docker.elastic.co/elasticsearch/elasticsearch:8.17.0

linux/amd64 docker.elastic.co1.30GB2025-01-21 18:00
60

docker.elastic.co/elasticsearch/elasticsearch:8.14.3

linux/arm64 docker.elastic.co798.17MB2025-01-22 11:33
86

docker.elastic.co/elasticsearch/elasticsearch:8.4.3

linux/amd64 docker.elastic.co1.26GB2025-01-22 13:10
57

docker.elastic.co/elasticsearch/elasticsearch:8.7.0

linux/arm64 docker.elastic.co742.70MB2025-02-10 09:54
33

docker.elastic.co/elasticsearch/elasticsearch:8.6.2

linux/amd64 docker.elastic.co1.29GB2025-02-20 23:00
13

docker.elastic.co/elasticsearch/elasticsearch:8.5.0

linux/amd64 docker.elastic.co1.29GB2025-02-20 23:08
19

docker.elastic.co/elasticsearch/elasticsearch:8.5.1

linux/amd64 docker.elastic.co1.29GB2025-02-20 23:14
16