docker container modify the time zone

1, date -R can view the current time

2, copy / usr / share / zoneinfo / Asia / Shanghai to the / etc / localtime

3, restart the container, then set the time zone in Shanghai (China Universal)

Guess you like

Origin www.cnblogs.com/Aix-yz/p/11026456.html