Skip to content

Instantly share code, notes, and snippets.

@Justkant
Created April 20, 2017 13:11
Show Gist options
  • Save Justkant/34740e9d9533dc6d3bbc5856a779ceb0 to your computer and use it in GitHub Desktop.
Save Justkant/34740e9d9533dc6d3bbc5856a779ceb0 to your computer and use it in GitHub Desktop.
Fix docker time sync after sleep on macOS
brew install sleepwatcher
brew services start sleepwatcher
echo /usr/local/bin/docker run --rm --privileged alpine hwclock -s > ~/.wakeup
chmod +x ~/.wakeup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment