Kapacitor¶
References¶
- influxdata Kapacitor documentation
- GitHub: influxdata/influxdata-docker/kapacitor
- DockerHub: influxdata Kapacitor
Upgrading Kapacitor¶
You can update the container via:
$ cd ~/IOTstack
$ docker-compose pull
$ docker-compose up -d
$ docker system prune
In words:
docker-compose pulldownloads any newer images;docker-compose up -dcauses any newly-downloaded images to be instantiated as containers (replacing the old containers); and- the
prunegets rid of the outdated images.
Kapacitor version pinning¶
If you need to pin to a particular version:
- Use your favourite text editor to open
docker-compose.yml. -
Find the line:
image: kapacitor:1.5 -
Replace
1.5with the version you wish to pin to. For example, to pin to version 1.5.9:image: kapacitor:1.5.9Note:
- Be cautious about using the
latesttag. At the time of writing, there was nolinux/arm/v7architecture support.
- Be cautious about using the
-
Save the file and tell
docker-composeto bring up the container:$ cd ~/IOTstack $ docker-compose up -d kapacitor $ docker system prune