{"id":16162618,"url":"https://github.com/jmb12686/docker-elasticsearch","last_synced_at":"2025-08-23T10:13:23.757Z","repository":{"id":45580626,"uuid":"234582306","full_name":"jmb12686/docker-elasticsearch","owner":"jmb12686","description":"Multi-architecture (arm, x86) Docker image for Elasticsearch","archived":false,"fork":false,"pushed_at":"2021-12-07T10:31:05.000Z","size":29,"stargazers_count":17,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T19:41:17.748Z","etag":null,"topics":["arm","armv6","armv7","buildx","docker-elasticsearch","docker-swarm","elasticsearch","multi-arch-images","multiarch","raspberry-pi"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmb12686.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-17T15:56:54.000Z","updated_at":"2023-11-13T09:28:12.000Z","dependencies_parsed_at":"2022-07-26T13:17:44.545Z","dependency_job_id":null,"html_url":"https://github.com/jmb12686/docker-elasticsearch","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/jmb12686/docker-elasticsearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmb12686%2Fdocker-elasticsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmb12686%2Fdocker-elasticsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmb12686%2Fdocker-elasticsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmb12686%2Fdocker-elasticsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmb12686","download_url":"https://codeload.github.com/jmb12686/docker-elasticsearch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmb12686%2Fdocker-elasticsearch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746559,"owners_count":24813570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arm","armv6","armv7","buildx","docker-elasticsearch","docker-swarm","elasticsearch","multi-arch-images","multiarch","raspberry-pi"],"created_at":"2024-10-10T02:31:33.328Z","updated_at":"2025-08-23T10:13:23.735Z","avatar_url":"https://github.com/jmb12686.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-elasticsearch\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://hub.docker.com/r/jmb12686/elasticsearch/tags?page=1\u0026ordering=last_updated\"\u003e\u003cimg src=\"https://img.shields.io/github/v/tag/jmb12686/docker-elasticsearch?label=version\u0026style=flat-square\" alt=\"Latest Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/jmb12686/docker-elasticsearch/actions\"\u003e\u003cimg src=\"https://github.com/jmb12686/docker-elasticsearch/workflows/build/badge.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://hub.docker.com/r/jmb12686/elasticsearch/\"\u003e\u003cimg src=\"https://img.shields.io/docker/stars/jmb12686/elasticsearch.svg?style=flat-square\" alt=\"Docker Stars\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://hub.docker.com/r/jmb12686/elasticsearch/\"\u003e\u003cimg src=\"https://img.shields.io/docker/pulls/jmb12686/elasticsearch.svg?style=flat-square\" alt=\"Docker Pulls\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nContainerized, multiarch version of [Elasticsearch](https://github.com/elastic/elasticsearch).  Designed to be usable within x86-64, armv6, and armv7 based Docker Swarm clusters.  Compatible with all Raspberry Pi models (armv6 + armv7).\n\n## Usage\n\nRun on a single Docker engine node:\n\n```bash\nsudo docker run --rm -e \"ES_JAVA_OPTS=-Xmx256m -Xms256m\" -e \"discovery.type=single-node\" -v ${PWD}/config/example/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml jmb12686/elasticsearch\n```\n\nRun with with Compose on Docker Swarm:\n\n```yml\nversion: \"3.7\"\nservices:\n  elasticsearch:\n    image: jmb12686/elasticsearch\n    configs:\n      - source: elastic_config\n        target: /usr/share/elasticsearch/config/elasticsearch.yml\n    volumes:\n      - elasticsearch-data:/usr/share/elasticsearch/data\n    environment:\n      ES_JAVA_OPTS: \"-Xmx256m -Xms256m\"\n      ELASTIC_PASSWORD: changeme\n      discovery.type: single-node\n    networks:\n      - elk\n    deploy:\n      mode: replicated\n      replicas: 1\n      resources:\n        limits:\n          memory: 1024M\n        reservations:\n            memory: 1024M\nconfigs:\n  elastic_config:\n    name: elastic_config-${CONFIG_VERSION:-0}\n    file: ./elasticsearch/config/elasticsearch.yml\nnetworks:\n  elk:\n    driver: overlay\n\nvolumes:\n  filebeat: {}\n  elasticsearch-data: {}\n```\n\n## How to manually build\n\nBuild using `buildx` for multiarchitecture image and manifest v2 support\n\nSetup buildx\n\n```bash\ndocker buildx create --name multiarchbuilder\ndocker buildx use multiarchbuilder\ndocker buildx inspect --bootstrap\n[+] Building 0.0s (1/1) FINISHED\n =\u003e [internal] booting buildkit                                                                                                                 5.7s\n =\u003e =\u003e pulling image moby/buildkit:buildx-stable-1                                                                                              4.6s\n =\u003e =\u003e creating container buildx_buildkit_multiarchbuilder0                                                                                     1.1s\nName:   multiarchbuilder\nDriver: docker-container\n\nNodes:\nName:      multiarchbuilder0\nEndpoint:  npipe:////./pipe/docker_engine\nStatus:    running\nPlatforms: linux/amd64, linux/arm64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6\n```\n\nBuild\n\n```bash\ndocker buildx build --platform linux/arm,linux/amd64 -t jmb12686/elasticsearch:latest --push .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmb12686%2Fdocker-elasticsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmb12686%2Fdocker-elasticsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmb12686%2Fdocker-elasticsearch/lists"}