# How to install Metricbeat in Docker?

**URL:** <https://discuss.elastic.co/t/how-to-install-metricbeat-in-docker/234225>\
**Category:** Beats\
**Tags:** docker, metricbeat\
**Created:** [May 26, 2020, 1:38am UTC](https://discuss.elastic.co/t/how-to-install-metricbeat-in-docker/234225 "2020-05-26T01:38:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grantcurell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/grantcurell/32/23813_2.png) [@grantcurell](https://discuss.elastic.co/u/grantcurell)\
**Post date:** [May 26, 2020, 1:39am UTC](https://discuss.elastic.co/t/how-to-install-metricbeat-in-docker/234225/1 "2020-05-26T01:39:00Z")

</div>

Playing around with the UI and I go to install Metricbeat under monitoring, just click the out of the box button "Install Metricbeat" and it comes back with:

> Setup mode is not available
> 
> You do not have the necessary permissions to do this.

To what permissions is it referring? Where do you change them? I tried adding `xpack.security.enabled=false` to my environment variables, but that didn't change anything.

---

<div class="post-metadata">

**Author:** ![Alex\_Kristiansen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_kristiansen/32/46086_2.png) [@Alex\_Kristiansen](https://discuss.elastic.co/u/Alex_Kristiansen)\
**Post date:** [May 29, 2020, 6:48pm UTC](https://discuss.elastic.co/t/how-to-install-metricbeat-in-docker/234225/2 "2020-05-29T18:48:01Z")

</div>

@grantcurell,

Can you provide a little more detail? What UI? Can you provide screenshots?

---

<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:** [June 26, 2020, 6:48pm UTC](https://discuss.elastic.co/t/how-to-install-metricbeat-in-docker/234225/3 "2020-06-26T18:48:02Z")

</div>

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