IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Running Enterprise Search Using Docker
editRunning Enterprise Search Using Docker
editAs an alternative to installation, you can run Enterprise Search as a Docker container.
Docker Image
editThe Elastic Docker registry provides a Docker image for Enterprise Search.
You can download the image from the registry, or use docker pull
:
docker pull docker.elastic.co/enterprise-search/enterprise-search:7.12.1
Configuration
editConfigure Enterprise Search using environment variables when you start the container. See Configuration for a list of configurable values.
You must configure the values that are required for a standard installation. In most cases, these are allow_es_settings_modification
and secret_management.encryption_keys
.
Example
editdocker run -p 3002:3002 \ -e elasticsearch.host='http://host.docker.internal:9200' \ -e elasticsearch.username=elastic \ -e elasticsearch.password=changeme \ -e allow_es_settings_modification=true \ -e secret_management.encryption_keys='[4a2cd3f81d39bf28738c10db0ca782095ffac07279561809eecc722e0c20eb09]' \ docker.elastic.co/enterprise-search/enterprise-search:7.12.1