Wrong timezone?

Hi

Finally got everything running smoothly so now I´m looking at details and found that the taskwindow/log is two hours before the time om my server.
No biggie but are there some setting to get this fixed?

Running Docker Manager 1.5.7

Hi there…

Darne, I’m looking forward to this issue too. I tried e dit the Dockerfile with three ways without sucess:

a) RUN timedatectl set-timezone America/Sao_Paulo
b) RUN echo “America/Sao_Paulo” > /etc/timezone
RUN dpkg-reconfigure -f noninteractive tzdata
c) ENV TZ=America/Sao_Paulo
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

I’ll try to use docker-compose. I’ll keep this thread update, let me know about your approach. I used those links as reference.

https://bobcares.com/blog/change-time-in-docker-container/

Att, Marcos