You are only browsing one thread in the discussion! All comments are available on the post page.
Return
dessalines , 11 months ago You should make sure your docker just uses the same time as the system its installed on, which is the default. Lemmy’s postgres uses UTC, so you’re gonna have a bad time if you try to manually override the docker default.
You should make sure your docker just uses the same time as the system its installed on, which is the default. Lemmy’s postgres uses UTC, so you’re gonna have a bad time if you try to manually override the docker default.
RotaryKeyboard OP , 11 months ago I just want to make sure I understand. The docker containers need to be set to the same time zone as the docker host. Is that right? Our docker host has been set to America/Denver for weeks, but the containers have been UTC, and we haven’t had any unusual behavior. I did set the postgres container’s time zone to America/Denver a few hours ago and also saw no strange behavior. I took a snapshot before I did that, so I can roll back, but I’m wondering what bad things would happen that I should look out for.
I just want to make sure I understand.
The docker containers need to be set to the same time zone as the docker host. Is that right?
Our docker host has been set to America/Denver for weeks, but the containers have been UTC, and we haven’t had any unusual behavior.
I did set the postgres container’s time zone to America/Denver a few hours ago and also saw no strange behavior.
I took a snapshot before I did that, so I can roll back, but I’m wondering what bad things would happen that I should look out for.
dessalines , 11 months ago You should not have to tweak anything with docker. It by default uses the time and time zone of your host machine.
You should not have to tweak anything with docker. It by default uses the time and time zone of your host machine.