it will respond any request with current time
docker run -d --name=time-syncer -p 30080:30080 docker.io/0x2196f3/time-syncer
- download the project
- run install.sh
sudo bash ./install.sh
curl -s http://192.168.2.2:10001 | xargs -I {} sudo date -s @{}
- change the url to yours
Environment Variable | Usage |
---|---|
PORT |
port |