# Is it possible to run Fleet & Elastic Agent locally?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-run-fleet-elastic-agent-locally/360502>\
**Category:** Elastic Agent\
**Tags:** fleet\
**Created:** [May 29, 2024, 6:47pm UTC](https://discuss.elastic.co/t/is-it-possible-to-run-fleet-elastic-agent-locally/360502 "2024-05-29T18:47:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ffamous](https://avatars.discourse-cdn.com/v4/letter/f/a6a055/32.png) [@ffamous](https://discuss.elastic.co/u/ffamous)\
**Post date:** [May 29, 2024, 6:47pm UTC](https://discuss.elastic.co/t/is-it-possible-to-run-fleet-elastic-agent-locally/360502/1 "2024-05-29T18:47:16Z")

</div>

Hello. I run Kibana and Elasticsearch in docker and trying to configurate Fleet with Elastic agent on the same system just for test/learning purpose, but cannot figure it out how to do that. Is it even possible to configurate EK in docker and El Agent + Fleet everything on localhost?

---

<div class="post-metadata">

**Author:** ![Julia\_Bardi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julia_bardi/32/79463_2.png) [@Julia\_Bardi](https://discuss.elastic.co/u/Julia_Bardi)\
**Post date:** [July 9, 2024, 7:43am UTC](https://discuss.elastic.co/t/is-it-possible-to-run-fleet-elastic-agent-locally/360502/2 "2024-07-09T07:43:58Z")

</div>

Hello Ingvar,

Yes, you can run Agent and Fleet Server in docker, see these docs:

> **[Run Elastic Agent in a container | Fleet and Elastic Agent Guide \[8.14\] |...](https://www.elastic.co/guide/en/fleet/current/elastic-agent-container.html)**

> **[Elastic Agent environment variables | Fleet and Elastic Agent Guide \[8.14\] |...](https://www.elastic.co/guide/en/fleet/current/agent-environment-variables.html#env-bootstrap-fleet-server)**

---

<div class="post-metadata">

**Author:** ![Nandee\_20](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nandee_20/32/141075_2.png) [@Nandee\_20](https://discuss.elastic.co/u/Nandee_20)\
**Post date:** [January 31, 2025, 3:08pm UTC](https://discuss.elastic.co/t/is-it-possible-to-run-fleet-elastic-agent-locally/360502/3 "2025-01-31T15:08:17Z")

</div>

I'm also having the same challenge.I have a Mac the docs at  
[Run Elastic Agent in a container | Fleet and Elastic Agent](https://www.elastic.co/guide/en/fleet/current/elastic-agent-container.html) states "Note that running Elastic Agent in a container is supported only in Linux environments. For this reason we don’t currently provide Elastic Agent container images for Windows." Is there another way?
