把宿主机的时区复制给docker 容器。命令如下 docker cp /etc/localtime [容器ID或者NAME]:/etc/localtime 1、获取容器ID 2、执行时区复制 3、进入容器查看docke时间更新