#docker showing wrong time

1 messages · Page 1 of 1 (latest)

turbid prairie
#

Hi for some reason my PMM is showing the wrong time in docker, I have set the timezone more than once

rugged knollBOT
#

Welcome @turbid prairie!

Someone from <@&938443185347244033> will assist when they're available.

Including the meta.log from the beginning is a huge help, type !logs for more information.

#

You can press the "Close Post" button above or type /close at any time to close this post.

icy ledge
#

what does your container setup look like?

turbid prairie
icy ledge
#

Looks right to me, not an expert at these things so I'll let someone else chime in

turbid prairie
#

aye just seems odd that the log's make it look like its loosing time

rigid sentinel
#

Docker defaults to utc time anyway when a container is created so there really isn't a need to add the TZ if you want utc time

#

Unless it's already set in the dockerfile. However we don't set a timezone in the dockerfile so it's using utc by default

turbid prairie
#

which is what i thought however I set the TZ cos its was picking up the time wrong, hence the first line of the log file, so i set the TZ to Europe/London and it was still an hour wrong so set again to etc/UTC and it was only a few mins out so I thought nothing of it but then it suddenly ended up 2 hours out (last line of the log)

mint sierra
#

Any luck here?

turbid prairie
#

sorry for the delay, no gave up on it, its working and triggering fine just not at the times I would expect lol

molten temple
#

There's really nothing PMM can do about this; it's just reading the time from the underlying OS. If that time is drifting, it's going to be at a lower level than PMM.