之前记得 debian8 的容器可以通过
root@1a22cc93f1c1:/# echo "Asia/Shanghai" > /etc/timezone
root@1a22cc93f1c1:/# dpkg-reconfigure -f noninteractive tzdata
Current default time zone: 'Asia/Shanghai'
Local time is now: Sun Oct 9 15:09:29 CST 2016.
Universal Time is now: Sun Oct 9 07:09:29 UTC 2016.
现在在 debian9 好像不好使了了.
基于 debian:stretch-slim 镜像,使用 timedatectl 默认是没有这个包的
root@266008c199c0:/# timedatectl set-timezone Asia/Shanghai
bash: timedatectl: command not found