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


bamy

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:

 

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!

 

Edited by bamtan
Link to comment

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

 

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

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.

Guest
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.