1、进入容器
docker exec -it 容器名称 /bin/bash
2、与宿主机时间同步
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
3、重启容器