You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kapacitor docker image version: 1.0-alpine
I run kapacitor through docker, volume /var/lib/kapacitor/:/var/lib/kapacitor/ for data persistence.
But after I stop & remove kapacitor-docker-container, recreate & run this container again, I lost all my tasks by typing # kapacitor list tasks inside container.
Inside container, I found default config file /etc/kapacitor/kapacitor.conf with content below:
data_dir = "/var/lib/kapacitor"
[replay]
dir = "/var/lib/kapacitor/replay"
[storage]
dir = "/var/lib/kapacitor/kapacitor.db"
But I found the real kapacitor.db is under the root dir: /kapacitor.db and when I run docker container with -v /var/lib/kapacitor/kapacitor.db:/kapacitor.db, the tasks persist.
I am confused with /kapacitor.conf and [storage] config in /etc/kapacitor/kapacitor.conf.
The text was updated successfully, but these errors were encountered:
kapacitor docker image version: 1.0-alpine
I run kapacitor through docker, volume
/var/lib/kapacitor/:/var/lib/kapacitor/
for data persistence.But after I stop & remove kapacitor-docker-container, recreate & run this container again, I lost all my tasks by typing
# kapacitor list tasks
inside container.Inside container, I found default config file
/etc/kapacitor/kapacitor.conf
with content below:But I found the real kapacitor.db is under the root dir:
/kapacitor.db
and when I run docker container with-v /var/lib/kapacitor/kapacitor.db:/kapacitor.db
, the tasks persist.I am confused with
/kapacitor.conf
and[storage]
config in/etc/kapacitor/kapacitor.conf
.The text was updated successfully, but these errors were encountered: