1.0.2 • Published 8 years ago

docker-machine-timesync v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

docker-machine-timesync

Prevent clock drift by periodically syncing docker-machine VM clocks

Build Status JavaScript Style Guide

Quickstart

Step 1: Install it

$ npm install -g docker-machine-timesync

Step 2: Run it

$ docker-machine-timesync
Syncing VM clocks against pool.ntp.org every 5 minutes
default clock synced
agent-1 clock synced
agent-2 clock synced

Why should I use this?

You will need accurate clocks on your machines to do any of the following:

  • Time-based security features (e.g. TOTP, expiring secret URLs)
  • 2-way data synchronization
  • Audit trails

If you are running docker-machine and do not sync your VM clocks, they will eventually start to drift. As of right now, the best solution is to SSH into each machine and sync the clocks yourself. This tool will do it automatically for you.

License: MIT