# FleetServer does not work in docker container exit with timeout

**URL:** <https://discuss.elastic.co/t/fleetserver-does-not-work-in-docker-container-exit-with-timeout/308374>\
**Category:** Elastic Stack\
**Tags:** docker, fleet, elastic-agent\
**Created:** [June 28, 2022, 2:44pm UTC](https://discuss.elastic.co/t/fleetserver-does-not-work-in-docker-container-exit-with-timeout/308374 "2022-06-28T14:44:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![carloshcarniatto](https://avatars.discourse-cdn.com/v4/letter/c/3bc359/32.png) [@carloshcarniatto](https://discuss.elastic.co/u/carloshcarniatto)\
**Post date:** [June 28, 2022, 2:44pm UTC](https://discuss.elastic.co/t/fleetserver-does-not-work-in-docker-container-exit-with-timeout/308374/1 "2022-06-28T14:44:40Z")

</div>

I am trying to create FleetServer for my ElasticSearch using docker and documentation but every time I upload both it gives the following error and stops the container, and I couldn't understand so far what I am doing wrong. The process I am using for this!

**Kibana version** :8.2.3

**Elasticsearch version** :8.2.3

**APM Server version** :8.2.3

Link I used to create elasticsearch and kibana in the docker container:  
[Install Elasticsearch with Docker | Elasticsearch Guide [8.2] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.2/docker.html)  
I even tried to go with docker compose but I didn't understand what the memory limi parameter was.  
[Run Elastic Agent in a container | Fleet and Elastic Agent Guide [8.2] | Elastic](https://www.elastic.co/guide/en/fleet/8.2/elastic-agent-container.html)

---

<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 19, 2022, 10:45am UTC](https://discuss.elastic.co/t/fleetserver-does-not-work-in-docker-container-exit-with-timeout/308374/2 "2022-07-19T10:45:19Z")

</div>

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