Closed Dave3991 closed 9 months ago
/etc/localtime
is usually a symlink, e.g.:
❯ readlink /etc/localtime
../etc/zoneinfo/Asia/Singapore
However in the docker container, that symlink is being overriden by something else (issue). Also, mounting symlinks in a container is problematic.
I suggest instead using a TZ
environment variable; that way, you are guaranteed the same timezone no matter what host you run on.
this is part of my docker-compose.yaml amd I'm getting error below, did anyone solve it? Host has right time.