So I run a few amd64 containers based on OpenSUSE LEap 15.4 and RHEL 9.4 with Docker Desktop for Mac v4.33 on an M3 MacBook Pro (Rosetta enabled).
In all of them TZ=Europe/Berlin is set and when I run a shell (bash or zsh) with docker exec -it <container> <shell>
, the date
command prints the current time in my timezone, just as expected.
Not so if I use docker debug <container>
, though: date
prints UTC and seems to ignore the TZ env variable. Also running tzselect
does not seem to have any effect, unfortunately…
Can this be fixed? Am I doing something wrong? Is this a known issue?