docker-minecraft-bedrock-server icon indicating copy to clipboard operation
docker-minecraft-bedrock-server copied to clipboard

log time is incorrect in docker

Open sao-coding opened this issue 4 years ago • 3 comments

log time is incorrect in docker 螢幕擷取畫面 2021-07-17 123746

sao-coding avatar Jul 17 '21 04:07 sao-coding

It's not incorrect, it's a timezone behavior common to all Linux platforms. Set the TZ environment variable on the container to match your timezone

https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html

itzg avatar Jul 17 '21 14:07 itzg

I set the time zone on my container But the log in docker still has incorrect time

image 螢幕擷取畫面 2021-07-18 100717 image

sao-coding avatar Jul 18 '21 02:07 sao-coding

You'll need to report a bug with Mojang then

https://bugs.mojang.com/projects/BDS/

itzg avatar Jul 18 '21 12:07 itzg