docker-machine-timesync
v1.0.2
Published
Prevent clock drift by periodically syncing docker-machine VM clocks
Downloads
2
Maintainers
Readme
docker-machine-timesync
Prevent clock drift by periodically syncing docker-machine VM clocks
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