Skip to content

Kapacitor

References

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:

  1. Use your favourite text editor to open docker-compose.yml.
  2. Find the line:

    yaml image: kapacitor:1.5

  3. Replace 1.5 with the version you wish to pin to. For example, to pin to version 1.5.9:

    yaml image: kapacitor:1.5.9

    Note:

    • Be cautious about using the latest tag. At the time of writing, there was no linux/arm/v7 architecture support.
  4. Save the file and tell docker-compose to bring up the container:

    $ cd ~/IOTstack
    $ docker-compose up -d kapacitor
    $ docker system prune