Docker in tomcat log processing time with the system time inconsistency problem

Time inconsistency in general are caused due to the time zone and tomcat read / etc / timezone file, the time zone settings, so we need to set the time zone file

First of all containers entering the tomcat

Excuting an order

echo "Asia/Shanghai" > /etc/timezone

Guess you like

Origin blog.csdn.net/tianlong1569/article/details/90766524