Created
April 28, 2017 14:27
-
-
Save mangar/e29667469bb6fe0a4ce855c1b5efa73a to your computer and use it in GitHub Desktop.
Docker - Problems with Time sync - Americas/Sao_Paulo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define America/Sao_Paulo | |
echo America/Sao_Paulo >/etc/timezone; dpkg-reconfigure -f noninteractive tzdata | |
# Sync clock | |
docker run --rm --privileged mangar/rails-pg:5.0.2.1 hwclock -s | |
echo "Enjoy!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment