Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing clock synchronization between osx and alpine docker-server #1367

Closed
venth opened this issue Mar 2, 2017 · 4 comments
Closed

Missing clock synchronization between osx and alpine docker-server #1367

venth opened this issue Mar 2, 2017 · 4 comments

Comments

@venth
Copy link

venth commented Mar 2, 2017

Expected behavior

internal clock of alpine is synchronized

Actual behavior

the clock it's unsynchronized

Information

  • Full output of the diagnostics from "Diagnose & Feedback" in the menu
  • A reproducible case if this is a bug, Dockerfiles FTW
  • Page URL if this is a docs issue or the name of a man page

Steps to reproduce the behavior

  1. wait with docker running few days
  2. screen to alpine
  3. date (indicates that clock is unsynchronized

Temporal workaround:
hwclock -s

called manually

@rogaha
Copy link

rogaha commented Mar 2, 2017

@venth it seems to be an issue related to the sleep function in OSX, it seems that the current 'best' workaround is this:

brew install sleepwatcher
brew services start sleepwatcher
echo /usr/local/bin/docker run --rm --privileged alpine hwclock -s > ~/.wakeup
chmod +x ~/.wakeup

@justincormack is there something else that we can do here?

@rogaha
Copy link

rogaha commented Mar 2, 2017

@venth is that approach a viable option for you?

@rogaha
Copy link

rogaha commented Mar 2, 2017

I'm closing this in favor of #17, @venth let's keep the discussions on the other thread, so people can benefit from it.

@rogaha rogaha closed this as completed Mar 2, 2017
@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jun 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants