Backdocker.io/elasticsearch
docker.ioOfficial
docker.io/elasticsearch:8.6.2
Elasticsearch is a powerful open source search and analytics engine that makes data easy to explore.
Size
596.30 MB
Local pulls
4
Upstream pulls
972,154,575
Synced at
2026-08-15 07:56:59
China image
registry.cn-global.starbucket.com.cn/starbucket/docker.io/library/elasticsearch:8.6.2
Source image
docker.io/elasticsearch:8.6.2
Image info
- Image ID
- sha256:58e27a304bdf15810e965acecbfb0bd455c33d86c85fe46d288495d095fb2cb8
- Image tag
- 8.6.2
- Image size
- 596.30 MB
- Platform
- linux/amd64
- Registry
- docker.io
- Project
- Hub pageAll tagsLocal repo
- CMD
- eswrapper
- Entrypoint
- /bin/tini -- /usr/local/bin/docker-entrypoint.sh
- Working dir
- /usr/share/elasticsearch
- User
- elasticsearch:root
- StopSignal
- —
- Created
- 2023-02-22T01:23:38.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_CONTAINER | true |
Labels 20
| org.label-schema.url | https://www.elastic.co/products/elasticsearch |
| org.label-schema.name | Elasticsearch |
| org.label-schema.usage | https://www.elastic.co/guide/en/elasticsearch/reference/index.html |
| org.label-schema.vendor | Elastic |
| org.label-schema.license | Elastic-License-2.0 |
| org.label-schema.vcs-ref | 2d58d0f136141f03239816a4e360a8d17b6d8f29 |
| org.label-schema.vcs-url | https://github.com/elastic/elasticsearch |
| org.label-schema.version | 8.6.2 |
| org.label-schema.build-date | 2023-02-13T09:35:20.314882762Z |
| org.opencontainers.image.url | https://www.elastic.co/products/elasticsearch |
| org.opencontainers.image.title | Elasticsearch |
| org.label-schema.schema-version | 1.0 |
| org.opencontainers.image.source | https://github.com/elastic/elasticsearch |
| org.opencontainers.image.vendor | Elastic |
| org.opencontainers.image.created | 2023-02-13T09:35:20.314882762Z |
| org.opencontainers.image.version | 8.6.2 |
| org.opencontainers.image.licenses | Elastic-License-2.0 |
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.revision | 2d58d0f136141f03239816a4e360a8d17b6d8f29 |
| org.opencontainers.image.documentation | https://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.6.2
docker tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/library/elasticsearch:8.6.2 docker.io/elasticsearch:8.6.2
Containerd
ctr images pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/library/elasticsearch:8.6.2
ctr images tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/library/elasticsearch:8.6.2 docker.io/elasticsearch:8.6.2
YAML quick replace
sed -i 's#docker.io/elasticsearch:8.6.2#registry.cn-global.starbucket.com.cn/starbucket/docker.io/library/elasticsearch:8.6.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 dockerContainerd
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-02-13 09:42:36empty layer
USER elasticsearch:root
2023-02-13 09:42:36empty layer
CMD ["eswrapper"]
2023-02-13 09:42:36empty layer
ENTRYPOINT ["/bin/tini" "--" "/usr/local/bin/docker-entrypoint.sh"]
2023-02-13 09:42:36empty layer
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 09:42:36empty layer
EXPOSE map[9200/tcp:{} 9300/tcp:{}]2023-02-13 09:42:36
RUN /bin/sh -c /etc/ca-certificates/update.d/docker-openjdk # buildkit
2023-02-13 09:42:35
COPY bin/docker-openjdk /etc/ca-certificates/update.d/docker-openjdk # buildkit
2023-02-13 09:42:35
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