You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/01/08 03:04:25 UTC

[GitHub] [iotdb] likeToDream commented on issue #2446: iotdb内部日志时间显示不对

likeToDream commented on issue #2446:
URL: https://github.com/apache/iotdb/issues/2446#issuecomment-756517635


   是的,docker容器内的时间与本机时间差8小时,我修改了容器时间与服务器时间同步,
   (docker exec -it -u root 容器id /bin/sh
   mkdir -p /usr/share/zoneinfo/Asia
   docker cp /usr/share/zoneinfo/Asia/Shanghai 容器ID或容器名:/usr/share/zoneinfo/Asia
   docker exec -it -u root 容器Id或容器名 bash
   执行命令 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime),修改容器时间后,
   将运行iotdb的容器重启,发现日志的时间还是与服务器时间相差8小时,请问怎样才能调整让日志时间与服务器时间同步


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org