We use an official Docker image from Elastic that's available at docker.elastic.co. The version is set to 7.12.1.
The Elasticsearch container is allowed to allocate a relatively large amount of memory – 2 GB – to be able to run queries with good performance. The more memory, the better the performance.