Docker containers are using UTC timezone

Hi,

I’m wondering if anybody else is experiencing this issue. My server (ElectricEel-24.10.2) is on ET timezone (Louisville), however all my containers show UTC when I check /etc/timezone. I first saw this issue with immich. It was 9pm and my pictures from same day where shown as “yesterday”. All the logs were few hours into the future. I used the container shell and checked current time, it was my local time, however timezone was UTC. I have pictures but can’t seem to embed them here.

Btw I then checked all the other apps and they all show UTC as timezone, not just immich

Set an environment variable called TZ with a value of your timezone.

1 Like