Change tag to latest and use correct pos file syntax for detection of log rotation

This commit is contained in:
Satnam Singh
2014-11-07 16:54:35 -08:00
parent 99356d2a65
commit f5c1df0a73
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
.PHONY: build push
TAG = 1.0
TAG = latest
build:
sudo docker build -t kubernetes/fluentd-elasticsearch:$(TAG) .

View File

@@ -38,6 +38,7 @@
format json
time_key time
path /var/lib/docker/containers/*/*-json.log
pos_file /var/lib/docker/containers/containers.log.pos
time_format %Y-%m-%dT%H:%M:%S
tag docker.container.*
</source>