Sign inSign up

myparcel/elasticsearch

By myparcel

•Updated about 2 years ago

This is an improved Elasticsearch 6.8 image with ARM64 support, reduced size and improved security.

Image
0

100K+

myparcel/elasticsearch repository overview

⁠Docker image for Elasticsearch 6.8

This is an improved Elasticsearch 6.8 image created by MyParcel because the official image doesn't fulfill our requirements, nor does it meet our security and quality standards.

⁠Features

  • Built using the Ubuntu LTS base image instead of CentOS 7.
  • Uses OpenJDK 8 as per Elastic's own recommendations⁠.
  • Image size reduced by half compared to the official Elasticsearch images.
  • Builds available for both amd64 and arm64 architectures.
  • Can be used as a drop-in replacement for the official Elasticsearch image.
  • Improved security:
    • Runs the complete container as the unprivileged elasticsearch user.
    • Elasticsearch' working directory, /usr/share/elasticsearch, and below are not writable by the elasticsearch user except where it is required for proper functioning.
    • The elasticsearch user now has a bespoke home dir, instead of the working directory (/usr/share/elasticsearch).
    • Yes, in case you're wondering, the basic security measures above are not applied in the official images. I don't know who writes their Dockerfiles, but I don't recommend you run their official images in a production environment.

⁠Quick reference

  • Maintained by: MyParcel⁠

  • Supported architectures: amd64, arm64v8

⁠What is Elasticsearch?

Elasticsearch is a distributed, RESTful search and analytics engine capable of solving a growing number of use cases. As the heart of the Elastic Stack, it centrally stores your data, so you can discover the expected and uncover the unexpected.

For more information about Elasticsearch, please visit www.elastic.co/products/elasticsearch⁠

⁠How to use this image

For full Elasticsearch documentation see here⁠.

The commands below are intended for deploying in a development context only. For production installation and configuration, see Install Elasticsearch with Docker⁠.

⁠Running in Development Mode

Create user defined network (useful for connecting to other services attached to the same network (e.g. Kibana)):

docker network create somenetwork

Run Elasticsearch:

docker run \
  --detach \
  --env     "discovery.type=single-node" \
  --name    elasticsearch \
  --net     somenetwork \
  --publish 9200:9200 \
  --publish 9300:9300 \
  myparcel/elasticsearch:6.8

⁠Running in Production Mode

See Install Elasticsearch with Docker⁠

⁠License

View license information⁠ for the Elasticsearch software contained in this image.

As with most Docker images, this one contains other software which is covered under other licenses.

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

Tag summary

Content type

Image

Digest

sha256:b0aa3bcee…

Size

226.5 MB

Last updated

about 2 years ago

docker pull myparcel/elasticsearch