Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

dikarel/docker-machine-timesync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 roughly 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

About

Prevent clock drift by periodically syncing docker-machine VM clocks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published