1.启动容器时追加参数-v /etc/localtime:/etc/localtime:ro2.启动中的容器docker cp -L /usr/share/zoneinfo/Asia/Shanghai 【容器名】:/etc/localtime3.重启容器docker restart 容器名