Skip to content

Instantly share code, notes, and snippets.

@mangar
Created April 28, 2017 14:27
Show Gist options
  • Save mangar/e29667469bb6fe0a4ce855c1b5efa73a to your computer and use it in GitHub Desktop.
Save mangar/e29667469bb6fe0a4ce855c1b5efa73a to your computer and use it in GitHub Desktop.
Docker - Problems with Time sync - Americas/Sao_Paulo
# 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