influxdata / influxdata/influxdata-docker

Not able to create multiple DBs at docker run

Open
#260 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
364
Forks
255
Avg merge
3h 18m
Merged PRs (30d)
7

Description

Hi,
I am trying to create multiple databases using -e option:

`docker run --name db -d \
-e INFLUXDB_DB=ping_rtt -e INFLUXDB_DB=tcp_rtt \
-e INFLUXDB_ADMIN_USER=root -e INFLUXDB_ADMIN_PASSWORD=supersecretpassword \
-v $PWD/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf:ro \
-v $PWD/influxdb:/var/lib/influxdb \
influxdb`

However, with this command, just INFLUXDB_DB=tcp_rtt is executed. Not sure if is an issue or not but your help will be greatly appreciated.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the supplied docker run command and inspect how the image processes repeated INFLUXDB_DB environment variables during database initialization. Done means establishing whether multiple databases are supported through this option and documenting or correcting the observed behavior, with a reproducible verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
database, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.