Groups
Groups
Sign in
Groups
Groups
Wazuh | Mailing List
Conversations
About
Send feedback
Help
Need to change timezone of the Wazuh container
50 views
Skip to first unread message
Daniel D'Angeli
unread,
Jun 24, 2022, 5:35:06 AM
6/24/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
HI,
the Wazuh container has UTC by default, i need to change it to CEST.
I tried by adding the environment variable TZ=Europe/Rome but it didnt work
Any help?
Daniel D'Angeli
unread,
Jun 24, 2022, 9:02:23 AM
6/24/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Fixed it by adding the following line after volume declaration:
entrypoint: [bash,-c,"ln -fs /usr/share/zoneinfo/Europe/Rome /etc/localtime && DEBIAN_FRONTEND=noninteractive apt install tzdata"]
Daniel D'Angeli
unread,
Jun 24, 2022, 9:10:42 AM
6/24/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
DO NOT USE THE ONE ABOVE, IT MAKES THE CONTAINER CRASH
use this one instead:
entrypoint: [bash,-c,"ln -fs /usr/share/zoneinfo/Europe/Rome /etc/localtime && DEBIAN_FRONTEND=noninteractive apt install tzdata && /init"]
Reply all
Reply to author
Forward
0 new messages