Jump to content

[solved] 6.4.1 Docker timezone incorrect, even with TZ variable

5 posts in this topic Last Reply

Recommended Posts

I've set my date and time under Unraid's settings, yet Docker containers do not change. 

Example, with Linuxserver.io's Resilio Sync:






Docker run command: 

docker run -d --name='Sync' --net='bridge' -e TZ="Australia/Melbourne" -e HOST_OS="unRAID" -p '8888:8888/tcp' -p '5555:5555/tcp' -p '3838:3838/udp' -v '/path/to/volume/':'/path':'rw' -v '/mnt/user/appdata/Sync':'/config':'rw' 'limetech/sync'

The command finished successfully!


Edited by bamtan

Share this post

Link to post

Installing a fresh one here and it fails starting. So there is an issue with the container. 


* Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/config.sh...
dpkg-query: package 'tzdata' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: tzdata is not installed
*** /etc/my_init.d/config.sh failed with status 1


Share this post

Link to post

I tested with Linuxserver.io's resilio-sync and the timezone is set correctly..


Sorry for that mix up :'(

Edited by bamtan

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.