influxdata-docker
influxdata-docker copied to clipboard
Default directories
I had InfluxDB running on a docker container working fine. I recreated the container mapping the two shares (before I had only one)
docker run \
-d \
-it \
--name influxdb \
-p 8086:8086 \
-p 25826:25826/udp \
-e TZ="Europe/Rome" \
-e INFLUXD_CONFIG_PATH="/var/lib/influxdb2/influxdb.conf" \
-v /share/influxdb/var/:/var/lib/influxdb2 \
-v /share/influxdb/etc/:/etc/influxdb2 \
influxdb:latest
since then, even if I try to recreate the container, it stores the datas and bolt files under ./home/influxdb/.influxdbv2
find . -name *.bolt
./home/influxdb/.influxdbv2/influxd.bolt
Of course since it's not persisting every time it starts from scratch.
Am I missing something from last version? Does anyone have an idea of that behaviour?