Opensearchserver on Debian
10K+
Full documentation at https://github.com/AlexandreToyer/opensearchserver-docker
/path/to/local/folder must be a directory that must contains directories opensearchserver/data. It will be used as the data folder by OpenSearchServer.
docker run -d -P -v </path/to/local/folder>:/srv alexandretoyer/opensearchserver
-d tells docker to daemonize this container (run in background)-P tells docker to map ports exposed in the container-v is used to map a local folder to the /srv folder inside the containerVariable MEMORY can be used to configure memory to allow to OpenSearchServer.
Value can be expressed with unit k, m or g.
docker run -d -P -v </path/to/local/folder>:/srv -e MEMORY=4g alexandretoyer/opensearchserver
docker ps -l
Here is an output example:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3b49cb1c7fed alexandretoyer/opensearchserver:latest /bin/sh -c '/start_o 23 minutes ago Up 23 minutes 0.0.0.0:49185->9090/tcp backstabbing_mayer
Column PORTS gives us the port to use. In this example it's 49185.
Browse to 127.0.0.1:<port used by docker>, for example 127.0.0.1:49185.
Content type
Image
Digest
sha256:f9f83ee09…
Size
546.7 MB
Last updated
almost 11 years ago
docker pull alexandretoyer/opensearchserver