Setting the time zone for Docker
To change the timezone in the docker
1) open staff/ directory and stop the docker:
sudo ./stop.sh
2) open staff/image/ directory and edit the Dockerfile:
Write America/New_York (or another timezone) into the line:
ln -f -v -s /usr/share/zoneinfo/America/New_York /etc/localtime ;
But in the data/etc/php.ini you have to write “;” before “date.timezone = Europe/Chisinau”
; date.timezone = Europe/Chisinau
3) open staff/ directory and execute
sudo ./start.sh rebuild
To install the timezone for server
sudo dpkg-reconfigure tzdata