influxdata / influxdata/influxdata-docker
Default directories
- Dominant language
- Shell
- Stars
- 364
- Forks
- 255
- Avg merge
- 3h 18m
- Merged PRs (30d)
- 7
Description
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?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the posted docker run command, especially the /var/lib/influxdb2 and /etc/influxdb2 mounts and INFLUXD_CONFIG_PATH. Check the container's default directories and where influxd writes its bolt and data files; done when recreated containers consistently persist those files in the mapped host directories.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- databases, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100