# Anonymous Authentification in a Docker Container

**URL:** <https://community.grafana.com/t/anonymous-authentification-in-a-docker-container/17725>\
**Category:** Configuration\
**Created:** [May 28, 2019, 8:51am UTC](https://community.grafana.com/t/anonymous-authentification-in-a-docker-container/17725 "2019-05-28T08:51:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hbs20](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/hbs20/32/7670_2.png) [@hbs20](https://community.grafana.com/u/hbs20)\
**Post date:** [May 28, 2019, 8:51am UTC](https://community.grafana.com/t/anonymous-authentification-in-a-docker-container/17725/1 "2019-05-28T08:51:23Z")

</div>

I am using the [official grafana docker](https://hub.docker.com/r/grafana/grafana/)

I want to set Grafana to Anonymous Authentification

As per the Grafana [documentation page](https://grafana.com/docs/installation/docker/), I can change the grafana.ini using the syntax ’ `GF_<SectionName>_<KeyName>`’  
I tried both

> GF\_auth\_anonymous=true

and

> GF\_auth\_anonymous\_enabled=true

but without any success.

Can some body tel me how to enable Anonymous Authentification in a Docker Container?

---

<div class="post-metadata">

**Author:** ![jangaraj](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jangaraj/32/39197_2.png) [@jangaraj](https://community.grafana.com/u/jangaraj)\
**Post date:** [May 28, 2019, 2:50pm UTC](https://community.grafana.com/t/anonymous-authentification-in-a-docker-container/17725/2 "2019-05-28T14:50:38Z")

</div>

Try:

```auto
GF_AUTH_ANONYMOUS_ENABLED=true

```

---

<div class="post-metadata">

**Author:** ![hbs20](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/hbs20/32/7670_2.png) [@hbs20](https://community.grafana.com/u/hbs20)\
**Post date:** [May 28, 2019, 7:21pm UTC](https://community.grafana.com/t/anonymous-authentification-in-a-docker-container/17725/3 "2019-05-28T19:21:49Z")

</div>

Thanks Jangaraj  
It works  
IT seems that all letters should be capital letters

---

<div class="post-metadata">

**Author:** ![lastb0isct](https://avatars.discourse-cdn.com/v4/letter/l/2acd7d/32.png) [@lastb0isct](https://community.grafana.com/u/lastb0isct)\
**Post date:** [January 26, 2021, 8:46pm UTC](https://community.grafana.com/t/anonymous-authentification-in-a-docker-container/17725/4 "2021-01-26T20:46:55Z")

</div>

Sorry to resurrect an old thread – But GF\_AUTH\_ANONYMOUS\_ENABLED=true is not working for me within docker. the default.ini in the docker container still shows the setting as false, even after a recreate.

Any ideas? Has this changed? Can’t find anything in the documentation further than this.

---

<div class="post-metadata">

**Author:** ![hbs20](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/hbs20/32/7670_2.png) [@hbs20](https://community.grafana.com/u/hbs20)\
**Post date:** [January 27, 2021, 9:45am UTC](https://community.grafana.com/t/anonymous-authentification-in-a-docker-container/17725/5 "2021-01-27T09:45:15Z")

</div>

You should pass GF\_AUTH\_ANONYMOUS\_ENABLED=true  
as Docker Environment variable
