timezonselect
sudo timedatectl set-timezone Asia/Samarkand
$ sudo ln -sf /usr/share/zoneinfo/Asia/Samarkand /etc/localtime
-v /etc/localtime:/etc/localtime:ro \ -e TZ=Asia/Samarkand
예제
sudo docker run --log-opt max-size=10m --log-opt max-file=20 -itd -p 5060:5060 --privileged -v /dev/bus/usb:/dev/bus/usb -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro -e TZ=Asia/Samarkand --restart=always --name=my-node-manager -v /usr/docker/node-manager:/node-manager my-node-manager
gedit setenv.sh
#!/bin/bash
export CATALINA_OPTS="$CATALINA_OPTS -Dfile.encoding=UTF8 -Duser.timezone=GMT+8"
sudo docker cp setenv.sh tomcat8.5:/usr/local/tomcat/bin