-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TZ variable to set correct timezone #8
Comments
Going to agree on this one. Oddly enough, it looks like it is trying to do some sort of Time Zone setting, but it isn't working right. (My time zone in the container shows as 'America', using UST time). |
So, it appears that the major hiccup causing this is that tzdata is not installed in the container at this time. If it could be added to the dockerfile, I think it would use the TZ env variable by default, which would set the time in the container to be correct, so that file timestamps and log entries are correct. |
I wonder if it is possible to just mount the time directory on the host to the client as read-only? It's possible that may not work because tzdata isn't installed though. It may be worth trying though. |
I have simply gone into the container's shell and installed tzdata, and it was working - but it's not really a persistant fix if it isn't added into the dockerfile to do so on image build. |
Done - PR #18 also at qlustor/xeoma |
Currently the container is set to timezone UTC which causes all of my timestamps to be wrong.
I fixed this by using the console of the container and running
apt install tzdata
and selecting my timezone using the prompts. It would be nice if there was just aTZ
env variable that could be set instead (I have seen other containers take this approach).The text was updated successfully, but these errors were encountered: