Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fermayo committed May 21, 2015
1 parent e7b2355 commit e8249f8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
FROM alpine
MAINTAINER support@tutum.co

ADD ntpd /etc/periodic/daily/
RUN chmod 755 /etc/periodic/daily/ntpd

CMD ["sh", "-c", "/etc/periodic/daily/ntpd && crond -f"]
CMD ["sh", "-c", "/etc/periodic/daily/ntpd && crond -f"]
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#tutum/ntpd
# tutum/ntpd

This container synchronizes system date on its host machine.
Keeps the host datetime in sync

##Usage

```
docker run -d --privileged ntpdate
```
## Usage


docker run -d --privileged tutum/ntpdate

3 changes: 1 addition & 2 deletions ntpd
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#!/bin/sh

ntpd -d -q -n -p ntp.ubuntu.com
ntpd -d -q -n -p ntp.ubuntu.com

0 comments on commit e8249f8

Please sign in to comment.