SUSE / Portus

Authorization service and frontend for Docker registry (v2)
http://port.us.org/
Apache License 2.0
3k stars 470 forks source link

Portus's UI is wrong timezone #2292

Closed bienkma closed 4 years ago

bienkma commented 4 years ago

I have been using docker for deploying Portus (registry:2.7.1, opensuse/portus:2.4.3). When I pushed an image to Portus and see on Web dashboard I got an invalidating event in the timezone. It's not a system time zone on the container. How can I setting the timezone for the web UI dashboard?

bienkma commented 4 years ago

I solved my problem. The Protus get timezone on TZ environment. old: docker run -d --name=portus -v /etc/localtime:/etc/localtime:ro opensuse/portus:2.4.3 change to new: docker run -d --name=portus -e "TZ=Asia/Ho_Chi_Minh" opensuse/portus:2.4.3

Jean-Baptiste-Lasselle commented 4 years ago

@bienkma thx 4 sharing