Question docker timezone update

Currently reading
Question docker timezone update

284
29
NAS
DS1019+ DSM6
Operating system
  1. Windows
Mobile operating system
  1. iOS
is there any way to update the TZ in a docker without having to clear it and set it up again?
i've set up xteve and just noticed the time is 4 hours behind.
 

fredbert

Moderator
NAS Support
Subscriber
4,072
1,613
NAS
DS1520+, DS218+, DS215j
Router
  1. RT2600ac
  2. MR2200ac
  3. RT6600ax
Operating system
  1. macOS
Mobile operating system
  1. iOS
Maybe it depends on the container.

I just stopped my FreshRSS container and changed the TZ environment parameter from Europe/London to Europe/Paris. Restarted the container and opened a Bash shell in the Terminal view. Using commands env and date both show that timezone string and CET are used. I quickly switched back.

However, my AirConnect container is different (doesn't have TZ) but the environment parameters for setting up the airupnp and aircast services only seem to get imported on initial run (after a Clear action).
 
421
166
NAS
DS212J, DS214play, DS216, DS216play, DS414, DS918+, RS816
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Windows
Mobile operating system
  1. iOS
Where tzdata is not available in the image, is there a (relatively simple) way to get the container's logs to show the right time for my local timezine instead (I think) UTC?
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Replies
3
Views
226
  • Question
If your NAS indeed is a DS416j, then I am afraid your memory is playing a trick on you. The cpu of the...
Replies
4
Views
788
  • Solved
That is interesting to know. Thank you! Probably nothing. And after some further consideration, I feel...
Replies
4
Views
312
  • Question
I haven't thought about it as a file system level cache. If it is, it would make sense that both benefit...
Replies
8
Views
296
I am struggling with that since I am only a copy & paste hacker. I have installed netdata on my Synology...
Replies
0
Views
148
OK, I have done those mappings (see screenshots). The status still shows the same error. File downloads...
Replies
3
Views
370
VPN, Tor, Tailscale, proxy, cell phone data... Not worth risking NAS and your network security IMO...
Replies
4
Views
303

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Top