# App search docker with meta engine

**URL:** <https://discuss.elastic.co/t/app-search-docker-with-meta-engine/232708>\
**Category:** Elastic Search\
**Tags:** docker, elastic-app-search\
**Created:** [May 14, 2020, 8:50pm UTC](https://discuss.elastic.co/t/app-search-docker-with-meta-engine/232708 "2020-05-14T20:50:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben\_Flowers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ben_flowers/32/45225_2.png) [@Ben\_Flowers](https://discuss.elastic.co/u/Ben_Flowers)\
**Post date:** [May 14, 2020, 8:50pm UTC](https://discuss.elastic.co/t/app-search-docker-with-meta-engine/232708/1 "2020-05-14T20:50:18Z")

</div>

I have a production environment which uses meta engine to query 2 engines.

I want to replicate this locally for development. Is it possible to use meta engine in the app search docker image for local development - the docker image doesn’t seem to have meta engine available through the UI

---

<div class="post-metadata">

**Author:** ![casey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casey/32/68371_2.png) [@casey](https://discuss.elastic.co/u/casey)\
**Post date:** [May 14, 2020, 9:11pm UTC](https://discuss.elastic.co/t/app-search-docker-with-meta-engine/232708/2 "2020-05-14T21:11:45Z")

</div>

> [@Ben\_Flowers](#):
>
> the docker image doesn’t seem to have meta engine available through the UI

Thanks for raising this question, Ben! Meta engines are indeed available in local/self-managed deployments, but they require the underlying Elasticsearch node to have a Platinum license. You can generate a 30-day Trial license for your Elasticsearch node using the Start Trial API ([Start trial API | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/start-trial.html)). Once activated, meta engines will be available for the duration of the trial.

---

<div class="post-metadata">

**Author:** ![Ben\_Flowers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ben_flowers/32/45225_2.png) [@Ben\_Flowers](https://discuss.elastic.co/u/Ben_Flowers)\
**Post date:** [May 14, 2020, 9:35pm UTC](https://discuss.elastic.co/t/app-search-docker-with-meta-engine/232708/3 "2020-05-14T21:35:20Z")

</div>

Thanks for the reply @casey

I have now activated the trial on my local es node using the following curl command:

`curl -X POST "localhost:9200/_license/start_trial?acknowledge=true&pretty"` and the response was successful.

However the AppSearch console doesn't seem to have the meta engines available? Do i need to configure the something with AppSearch?

Thanks,

Ben

---

<div class="post-metadata">

**Author:** ![Subhasis\_Dash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/subhasis_dash/32/68827_2.png) [@Subhasis\_Dash](https://discuss.elastic.co/u/Subhasis_Dash)\
**Post date:** [May 21, 2020, 2:05pm UTC](https://discuss.elastic.co/t/app-search-docker-with-meta-engine/232708/4 "2020-05-21T14:05:56Z")

</div>

HI Casey, even after activating the trial the Api for creating Meta Engines ie:[http://localhost:3002/api/as/v1/engines](http://localhost:3002/api/as/v1/engines) upon post gives the response as 401 unauthorized , i have tested this with all types of keys provided by app-search ie search,private and admin keys and the response is always the same.  
Can you please show the way we can create meta engines in self hosted App search in Docker

---

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [May 26, 2020, 12:39pm UTC](https://discuss.elastic.co/t/app-search-docker-with-meta-engine/232708/5 "2020-05-26T12:39:35Z")

</div>

App Search may not have picked up the license change in Elasticsearch. Try restarting App Search.

---

<div class="post-metadata">

**Author:** ![Ben\_Flowers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ben_flowers/32/45225_2.png) [@Ben\_Flowers](https://discuss.elastic.co/u/Ben_Flowers)\
**Post date:** [June 18, 2020, 1:17pm UTC](https://discuss.elastic.co/t/app-search-docker-with-meta-engine/232708/6 "2020-06-18T13:17:46Z")

</div>

Hi All,

So i managed to get it successfully working. However the license has now expired. I've tried removing all the data and containers. However now when i start the ES cluster and [http://localhost:9200/\_license/trial\_status?pretty](http://localhost:9200/_license/trial_status?pretty)

I get:

```
{
  "eligible_to_start_trial": false
}

```

Now my local app-search client will not run - how can i tear down the ES cluster and restart on my local docker machine?

Thanks,

Ben

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 16, 2020, 1:17pm UTC](https://discuss.elastic.co/t/app-search-docker-with-meta-engine/232708/7 "2020-07-16T13:17:53Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
