# Elasticsearch

Since testcontainers-python <a href="https://github.com/testcontainers/testcontainers-python/releases/tag/v4.6.0"><span class="tc-version">:material-tag: v4.6.0</span></a>

## Introduction

The Testcontainers module for Elasticsearch.

## Adding this module to your project dependencies

Please run the following command to add the Elasticsearch module to your python dependencies:

```bash
pip install testcontainers[elasticsearch]
```

## Usage example

<!--codeinclude-->

[Creating an Elasticsearch container](../../modules/elasticsearch/example_basic.py)

<!--/codeinclude-->
