honwen / aliyun-ddns-cli

ALiDDNS - Dynamic DNS CLI for [aliyun.com]
MIT License
413 stars 111 forks source link

不能对容器设置时区 #83

Closed lnc1995 closed 8 months ago

lnc1995 commented 9 months ago

TZ参数无法被识别,会导致有些Docker环境下时间不正确

honwen commented 8 months ago

Try lastet image

lnc1995 commented 8 months ago

Try lastet image

Seems not work.I have already add TZ=Asia/Shanghai parameter. OS:RouterOS x86 7.12.1

honwen commented 8 months ago

try remove thw TZ env

lnc1995 commented 8 months ago

SmartSelect_20231218_103049_MikroTik As you can see, there is a difference of 8 hours between my time and the time in the container

lnc1995 commented 8 months ago

try remove thw TZ env

Awesome! It works!Thanks a lot!