docker run的时候指定参数 -v /etc/localtime:/etc/localtime 如果是 compose文件: volumes: - /etc/localtime:/etc/localtime