让docker容器使用主机系统时间(挂入/etc/localtime)

-v挂入这个文件就可以了:

-v /etc/localtime:/etc/localtime:ro
原文地址:https://www.cnblogs.com/dylanchu/p/11809108.html