In docker, we are not able to use interactive mode (UI) to select time zone. We need to use a non interactive way of editing time zone.
To set time zone in docker container use the following:
# echo "Asia/Singapore" > /etc/timezone
# dpkg-reconfigure -f noninteractive tzdata
No comments:
Post a Comment