Sunday, September 10, 2017

Ubuntu Sync Clock

Ubuntu Sync Clock


Background

Today I was having issues with one of my testing tools whereby my requests to AWS were failing with the following error message:
"The difference between the request time and the current time is too large."

It turns out that my docker containers were consistently one hour behind (Yes I checked Timezones). In order to sync your ubuntus clock. one just needs to run the command below.

Update Clock Command

sudo ntpdate ntp.ubuntu.com

download file now