# Docker: best way to disable security?

**URL:** <https://discuss.elastic.co/t/docker-best-way-to-disable-security/124319>\
**Category:** Elasticsearch\
**Created:** [March 16, 2018, 2:57pm UTC](https://discuss.elastic.co/t/docker-best-way-to-disable-security/124319 "2018-03-16T14:57:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [March 16, 2018, 2:57pm UTC](https://discuss.elastic.co/t/docker-best-way-to-disable-security/124319/1 "2018-03-16T14:57:58Z")

</div>

Hi,

I use basic license of xpack.  
Currently I am trying to get familar with docker.

I would like to use the monitoring plugin of logstash to ship it's data to ES.  
But since I am only using basic license, I need to disable the security feature in LS, Kibana and ES.

What is the most common / practical way to do so?  
Mount the configuration yml from outside to the container?

Thanks, Andreas

---

<div class="post-metadata">

**Author:** ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)\
**Post date:** [March 20, 2018, 3:14am UTC](https://discuss.elastic.co/t/docker-best-way-to-disable-security/124319/2 "2018-03-20T03:14:57Z")

</div>

Yes, mount an external configuration and set `xpack.security.enabled: false`

---

<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:** [April 17, 2018, 3:14am UTC](https://discuss.elastic.co/t/docker-best-way-to-disable-security/124319/3 "2018-04-17T03:14:57Z")

</div>

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