Backdocker.io/elasticsearch
docker.ioOfficial

docker.io/elasticsearch:8.9.2

Elasticsearch is a powerful open source search and analytics engine that makes data easy to explore.

Size
619.30 MB
Local pulls
4
Upstream pulls
972,154,575
Synced at
2026-08-15 07:57:13

China image

registry.cn-global.starbucket.com.cn/starbucket/docker.io/library/elasticsearch:8.9.2

Source image

docker.io/elasticsearch:8.9.2

Image info

Image ID
sha256:25e0ad0c0e7b7897e964367e7954f8130446ee8ae512765b4d7f91acf673f8cd
Image tag
8.9.2
Image size
619.30 MB
Platform
linux/amd64
Registry
docker.io
CMD
eswrapper
Entrypoint
/bin/tini -- /usr/local/bin/docker-entrypoint.sh
Working dir
/usr/share/elasticsearch
User
1000:0
StopSignal
Created
2023-09-08T05:19:02.000Z

Exposed ports 2

  • 9200/tcp
  • 9300/tcp

Environment 2

PATH/usr/share/elasticsearch/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ELASTIC_CONTAINERtrue

Labels 20

org.label-schema.urlhttps://www.elastic.co/products/elasticsearch
org.label-schema.nameElasticsearch
org.label-schema.usagehttps://www.elastic.co/guide/en/elasticsearch/reference/index.html
org.label-schema.vendorElastic
org.label-schema.licenseElastic-License-2.0
org.label-schema.vcs-refe8179018838f55b8820685f92e245abef3bddc0f
org.label-schema.vcs-urlhttps://github.com/elastic/elasticsearch
org.label-schema.version8.9.2
org.label-schema.build-date2023-08-31T02:43:14.210479707Z
org.opencontainers.image.urlhttps://www.elastic.co/products/elasticsearch
org.opencontainers.image.titleElasticsearch
org.label-schema.schema-version1.0
org.opencontainers.image.sourcehttps://github.com/elastic/elasticsearch
org.opencontainers.image.vendorElastic
org.opencontainers.image.created2023-08-31T02:43:14.210479707Z
org.opencontainers.image.version8.9.2
org.opencontainers.image.licensesElastic-License-2.0
org.opencontainers.image.ref.nameubuntu
org.opencontainers.image.revisione8179018838f55b8820685f92e245abef3bddc0f
org.opencontainers.image.documentationhttps://www.elastic.co/guide/en/elasticsearch/reference/index.html

Pull commands

Docker
docker pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/library/elasticsearch:8.9.2
docker tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/library/elasticsearch:8.9.2 docker.io/elasticsearch:8.9.2
Containerd
ctr images pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/library/elasticsearch:8.9.2
ctr images tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/library/elasticsearch:8.9.2 docker.io/elasticsearch:8.9.2
YAML quick replace
sed -i 's#docker.io/elasticsearch:8.9.2#registry.cn-global.starbucket.com.cn/starbucket/docker.io/library/elasticsearch:8.9.2#' deployment.yaml
Global registry mirror
Docker

Write Docker daemon.json so registry-mirrors points to this site, then restart Docker

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<'EOF'
{
  "registry-mirrors": ["https://registry.cn-global.starbucket.com.cn"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
Containerd

Write containerd certs.d hosts.toml so docker.io pulls via this site, then restart containerd

sudo mkdir -p /etc/containerd/certs.d/docker.io
sudo tee /etc/containerd/certs.d/docker.io/hosts.toml <<'EOF'
server = "https://docker.io"

[host."https://registry.cn-global.starbucket.com.cn"]
  capabilities = ["pull", "resolve"]
EOF
sudo mkdir -p /etc/containerd
if [ ! -f /etc/containerd/config.toml ]; then
  sudo containerd config default | sudo tee /etc/containerd/config.toml >/dev/null
fi
sudo sed -i 's#config_path = ""#config_path = "/etc/containerd/certs.d"#' /etc/containerd/config.toml
sudo systemctl restart containerd

Build history 22

2023-08-31 02:49:45empty layer
USER 1000:0
2023-08-31 02:49:45empty layer
CMD ["eswrapper"]
2023-08-31 02:49:45empty layer
ENTRYPOINT ["/bin/tini" "--" "/usr/local/bin/docker-entrypoint.sh"]
2023-08-31 02:49:45empty layer
LABEL org.label-schema.build-date=2023-08-31T02:43:14.210479707Z 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=e8179018838f55b8820685f92e245abef3bddc0f org.label-schema.vcs-url=https://github.com/elastic/elasticsearch org.label-schema.vendor=Elastic org.label-schema.version=8.9.2 org.opencontainers.image.created=2023-08-31T02:43:14.210479707Z 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=e8179018838f55b8820685f92e245abef3bddc0f 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.9.2
2023-08-31 02:49:45empty layer
EXPOSE map[9200/tcp:{} 9300/tcp:{}]
2023-08-31 02:49:45
RUN /bin/sh -c /etc/ca-certificates/update.d/docker-openjdk # buildkit
2023-08-31 02:49:45
COPY bin/docker-openjdk /etc/ca-certificates/update.d/docker-openjdk # buildkit
2023-08-31 02:49:45
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