# How to open source maps setting on docker

**URL:** <https://discuss.elastic.co/t/how-to-open-source-maps-setting-on-docker/189911>\
**Category:** Kibana\
**Created:** [July 11, 2019, 6:22am UTC](https://discuss.elastic.co/t/how-to-open-source-maps-setting-on-docker/189911 "2019-07-11T06:22:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tony21177](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tony21177/32/56161_2.png) [@tony21177](https://discuss.elastic.co/u/tony21177)\
**Post date:** [July 11, 2019, 6:22am UTC](https://discuss.elastic.co/t/how-to-open-source-maps-setting-on-docker/189911/1 "2019-07-11T06:22:23Z")

</div>

Hi,  
I run kibana on docker and my image version is "[docker.elastic.co/kibana/kibana:6.8.0](http://docker.elastic.co/kibana/kibana:6.8.0)"  
But I don't know how to change the setting so that the client javascript of kibana UI have source maps.  
Can anyone help?

---

<div class="post-metadata">

**Author:** ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)\
**Post date:** [July 12, 2019, 2:24pm UTC](https://discuss.elastic.co/t/how-to-open-source-maps-setting-on-docker/189911/2 "2019-07-12T14:24:19Z")

</div>

Hello,

Are you referring to the standard EMS maps that load by default in the Maps application? Your docker container should have the same internet access as its host for most standard container setups. I just pulled down docker container 6.8.1 and didn't see any issues with the default EMS maps loading.

Regards,  
Aaron

---

<div class="post-metadata">

**Author:** ![tony21177](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tony21177/32/56161_2.png) [@tony21177](https://discuss.elastic.co/u/tony21177)\
**Post date:** [July 15, 2019, 1:03am UTC](https://discuss.elastic.co/t/how-to-open-source-maps-setting-on-docker/189911/3 "2019-07-15T01:03:25Z")

</div>

Hi,

I mean the the source map of minified budle js,so I can trace the javascript source code easier,  
thank you!

I configure the kibana.yml as below  
optimize:  
sourceMaps: true  
But kibana's error log told that it can only be "false", I don't know why

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [July 15, 2019, 11:30pm UTC](https://discuss.elastic.co/t/how-to-open-source-maps-setting-on-docker/189911/4 "2019-07-15T23:30:48Z")

</div>

The acceptable values for the `optimize.sourceMaps` setting in kibana.yml are listed in [this table](https://webpack.js.org/configuration/devtool/#devtool). However, I believe source maps are not included in release versions of Kibana such as the docker image you are using.

---

<div class="post-metadata">

**Author:** ![tony21177](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tony21177/32/56161_2.png) [@tony21177](https://discuss.elastic.co/u/tony21177)\
**Post date:** [July 16, 2019, 2:41am UTC](https://discuss.elastic.co/t/how-to-open-source-maps-setting-on-docker/189911/5 "2019-07-16T02:41:18Z")

</div>

Thank you so much.  
I got it!

---

<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:** [August 13, 2019, 2:41am UTC](https://discuss.elastic.co/t/how-to-open-source-maps-setting-on-docker/189911/6 "2019-08-13T02:41:25Z")

</div>

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