Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-12161

Time zone issues on Alpine based Docker images

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 3.2.5
    • Installation (I)
    • None
    • zabbix/zabbix-server-pgsql:alpine-latest
      zabbix/zabbix-web-nginx-pgsql:alpine-latest
      zabbix/zabbix-agent:alpine-latest

      Time zone is not set correctly using TZ environment variable, see the output below:

      [root@linux dev]# docker exec -ti zabbix-web bash
      bash-4.3# date
      Wed May 10 12:23:36 GMT 2017
      bash-4.3# export
      ...
      declare -x TZ="Europe/Ljubljana"
      ...
      declare -x ZBX_SOURCES="svn://svn.zabbix.com/tags/3.2.5/"
      declare -x ZBX_VERSION="3.2.5"
      bash-4.3#

      Solution is to include tzdata package in Docker image.

            Unassigned Unassigned
            samek2000 Samuel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: