查看当前时区 date -R 进入容器 docker exec -it mysql bash 修改时区 cp /usr/share/zoneinfo/Hongkong /etc/localtime 退出容器 exit 重启容器生效 docker restart mysql