Created
April 20, 2017 13:11
-
-
Save Justkant/34740e9d9533dc6d3bbc5856a779ceb0 to your computer and use it in GitHub Desktop.
Fix docker time sync after sleep on macOS
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
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