Docker Community Forums

Share and learn in the Docker community.

Easy way to set local time in Docker for Windows


(Murf66) #1

Expected behavior

Correct time in containers

Actual behavior

UTC time in containers (as is default configuration in Moby Linux VM)

Information

Steps to reproduce the behavior

From powershell:
PS C:> date
Fri Jun 24 09:57:56 AUSEST 2016
PS C:> docker run --rm -it centos date
Thu Jun 23 23:57:57 UTC 2016

##SUGGESTION
In the docker interface, perhaps under advanced settings, have a dropdown box of timezones that allow the selection of the local or preferred timezone that can then be linked in Moby Linux /etc/localtime ?