# TEMPERATUREUNIT not working in Docker?

**URL:** <https://discourse.pi-hole.net/t/temperatureunit-not-working-in-docker/60789>\
**Category:** Help\
**Tags:** docker\
**Created:** [January 26, 2023, 2:52am UTC](https://discourse.pi-hole.net/t/temperatureunit-not-working-in-docker/60789 "2023-01-26T02:52:22Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![PromoFaux](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/promofaux/32/1545_2.png) [@PromoFaux](https://discourse.pi-hole.net/u/PromoFaux)\
**Post date:** [January 26, 2023, 7:33pm UTC](https://discourse.pi-hole.net/t/temperatureunit-not-working-in-docker/60789/9 "2023-01-26T19:33:25Z")

</div>

> [@windracer](#):
>
> Is there a known issue with the TEMPERATUREUNIT flag in a Docker instance of Pi-Hole?

Setting this environment variable sets the value in `setupVars.conf`, but this is only used in chronometer (as you have seen) and PADD (also - use PADD, it's much sexier than chronometer)

For the web interface, the setting was moved to a per-browser setting alongside some others in this PR:

[https://github.com/pi-hole/AdminLTE/pull/1422](https://github.com/pi-hole/AdminLTE/pull/1422)

Some further discussion around the subject can be found:

> [@Possible to persist temperature setting?](https://discourse.pi-hole.net/t/possible-to-persist-temperature-setting/37438/6):
>
> If I understand the code correctly, the possibility to set (better: read and use) the temperature by setupVars.conf was removed (or forgotten?) as the ability to change it per web GUI was implemented. (see changes to header.php) [https://github.com/pi-hole/AdminLTE/commit/3c793581b7d5b658dedaaaa9eb55f7d54c4d89a2](https://github.com/pi-hole/AdminLTE/commit/3c793581b7d5b658dedaaaa9eb55f7d54c4d89a2)

---

_[View the full topic](https://discourse.pi-hole.net/t/temperatureunit-not-working-in-docker/60789)._
