# How Kibana's parameters env work in docker?

**URL:** https://discuss.elastic.co/t/how-kibanas-parameters-env-work-in-docker/347354
**Category:** Kibana
**Tags:** docker
**Created:** [November 16, 2023, 4:56pm UTC](https://discuss.elastic.co/t/how-kibanas-parameters-env-work-in-docker/347354 "2023-11-16T16:56:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![a-fly-fly-bird](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a-fly-fly-bird/32/127672_2.png) [@a-fly-fly-bird](https://discuss.elastic.co/u/a-fly-fly-bird)
#### Post date: [November 16, 2023, 4:56pm UTC](https://discuss.elastic.co/t/how-kibanas-parameters-env-work-in-docker/347354/1 "2023-11-16T16:56:40Z")

</div>

I am reading the docker file of Kibana. Here is the link: [Kibana official docker file](https://github.com/elastic/dockerfiles/blob/8.11/kibana/bin/kibana-docker).

I noticed that the config can come into force by just set the environments. I've seen the annotation of its theory. But I do not know how to begin with it.

> # The virtual file /proc/self/cgroup should list the current cgroup  
> # membership. For each hierarchy, you can follow the cgroup path from  
> # this file to the cgroup filesystem (usually /sys/fs/cgroup/) and  
> # introspect the statistics for the cgroup for the given  
> # hierarchy. Alas, Docker breaks this by mounting the container  
> # statistics at the root while leaving the cgroup paths as the actual  
> # paths. Therefore, Kibana provides a mechanism to override  
> # reading the cgroup path from /proc/self/cgroup and instead uses the  
> # cgroup path defined the configuration properties  
> # ops.cGroupOverrides.cpuPath and ops.cGroupOverrides.cpuAcctPath.  
> # Therefore, we set this value here so that cgroup statistics are  
> # available for the container this process will run in.

Can you give me some guidance of how to have a deeper understanding of this knowledge point. Thanks a lot.

---

<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: [December 14, 2023, 4:57pm UTC](https://discuss.elastic.co/t/how-kibanas-parameters-env-work-in-docker/347354/2 "2023-12-14T16:57:33Z")

</div>

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