Docker ENV not working

  • What Grafana version and what operating system are you using?
    I use the version 9.5.1

  • What are you trying to achieve?
    In the context of security measures, the Grafana version should be hidden in the login screen.
    Since I use Docker, an environment variable must be set for this. The documentation says that the variable version_hide=true must be set.
    Here (Configure Grafana authentication | Grafana documentation) this variable is under the category authentication. Here (Configure security hardening | Grafana documentation) it is under the category security headers.

  • How are you trying to achieve it?
    I tried the variable GF_AUTH_HIDE_VERSION=true in the container. Unfortunately without success.

  • What happened?
    The version is still displayed in the login screen.

  • What did you expect to happen?
    The version is not displayed in the login screen.

Which variable must be used here?