ElasticSearch docker container that supports Azure Container Instances
10K+
ElasticSearch docker container that supports Azure Container Instances.
Basically it overrides the official container and allows to set ElasticSearch configuration variables that contains dots (.) by replacing them with triple underscore (___). Example: discovery___type=single-node instead of discovery.type=single-node.
Here are some snippets to help get started creating a docker container.
docker create \
--name=elasticsearch-azure \
-e discovery___type=single-node \
-e ELASTIC_PASSWORD=PleaseChangeMe \
-e xpack___license___self_generated___type=trial \
-e xpack___security___enabled=true \
-p 9200:9200 \
-p 9300:9300 \
--restart unless-stopped \
-m 2g \
thilas/elasticsearch-azure
See ElasticSearch configuration variables. Just replace all dots (.) in variable names by triple underscore (___).
Example: discovery___type=single-node instead of discovery.type=single-node.
docker exec -it elasticsearch-azure /bin/bashdocker logs -f elasticsearch-azureHere are some instructions to update an existing container.
docker pull thilas/elasticsearch-azuredocker stop elasticsearch-azuredocker rm elasticsearch-azuredocker start elasticsearch-azuredocker image prunedocker-compose pull
docker-compose pull elasticsearch-azuredocker-compose up -d
docker-compose up -d elasticsearch-azuredocker image pruneContent type
Image
Digest
Size
398.8 MB
Last updated
over 5 years ago
docker pull thilas/elasticsearch-azure:7.10.2