Time zone difference and host eight hours in the docker, how do?

docker run -d -it --name tt -e TZ=Asia/Shanghai -p 80:80 api

 Use the -e parameter to specify the time zone

 

Guess you like

Origin www.cnblogs.com/25miao/p/11592269.html