docker run -d -it --name tt -e TZ=Asia/Shanghai -p 80:80 api
Use the -e parameter to specify the time zone