Jump to content

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


bamy

Recommended Posts

Posted

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


Example, with Linuxserver.io's Resilio Sync:

 

PiH5tHN.png

 

78to9v4.png

 

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!

 

Posted

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

 

  • bamy changed the title to [solved] 6.4.1 Docker timezone incorrect, even with TZ variable

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...