elasticsearch
OfficialFull-text search engine
$ niso pull elasticsearch6x smaller than Docker
This package is 150 MB vs Docker's 900 MB image. That's 6x less disk space, faster pulls, and a smaller attack surface.
Elasticsearch is a distributed, RESTful search and analytics engine built on Apache Lucene. It provides near-real-time search, analytics, and scalable indexing for structured and unstructured data.
niso packages Elasticsearch at 150 MB -- 6x smaller than Docker's 900 MB elasticsearch image (which includes a full JDK and OS layer). The niso package uses the shared JRE runtime, so the JVM is not duplicated per service. The database isolation preset restricts file system access to the data and config directories only.
Key features
- 150 MB total package size (6x smaller than Docker)
- Default ports: 9200, 9300
- Multi-architecture: x86_64 and aarch64
- database isolation preset — each service fully isolated
- Security score: A
How to use
[package]
name = "elasticsearch"
version = "8.13.4"
[service]
restart = "on-failure"
[network]
ports = ["9200:9200"]
[volumes]
data = { mount = "/data", mode = "rw" }
[isolation]
preset = "database"Dependencies
elasticsearch 150 MB
├── jre 21.0.3 (65 MB)
└── musl libc 1.2.5 (0.6 MB)
Related packages
postgres
OfficialPostgreSQL relational database
redis
OfficialRedis in-memory data store
mariadb
OfficialMariaDB relational database