# docker exec -it
8259860d43e9/bin/bash
root@
8259860d43e9:# date //显示容器的当前时间
root@
8259860d43e9:
# cp
/usr/share/zoneinfo/Asia/Shanghai
/etc/localtime
&&
echo
'Asia/Shanghai'
>
/etc/timezone
root@
8259860d43e9:
# exit
# docker restart 8259860d43e9