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 pull
downloads any newer images;docker-compose up -d
causes any newly-downloaded images to be instantiated as containers (replacing the old containers); and- the
prune
gets 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.5
with the version you wish to pin to. For example, to pin to version 1.5.9:image: kapacitor:1.5.9
Note:
- Be cautious about using the
latest
tag. At the time of writing, there was nolinux/arm/v7
architecture support.
- Be cautious about using the
-
Save the file and tell
docker-compose
to bring up the container:$ cd ~/IOTstack $ docker-compose up -d kapacitor $ docker system prune