influxdata / influxdata/influxdata-docker

Clarify example at dockerhub

Open
#330 4 comments 0 reactions 0 assignees View on GitHub
influxdb question
Dominant language
Shell
Stars
364
Forks
255
Avg merge
3h 18m
Merged PRs (30d)
7

Description

Now at https://hub.docker.com/_/influxdb (Database Initialization: Manually Initializing the Database):
```
$ docker run --rm \
-e INFLUXDB_DB=db0 -e INFLUXDB_ADMIN_ENABLED=true \
-e INFLUXDB_ADMIN_USER=admin -e INFLUXDB_ADMIN_PASSWORD=supersecretpassword \
-e INFLUXDB_USER=telegraf -e INFLUXDB_USER_PASSWORD=secretpassword \
-v $PWD:/var/lib/influxdb \
influxdb /init-influxdb.sh
```
But without INFLUXDB_HTTP_AUTH_ENABLED=true all this credentials is useless, isn't it?
I got a little bit confused.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Docker Hub InfluxDB page's “Database Initialization: Manually Initializing the Database” example and review the documented environment variables, especially INFLUXDB_HTTP_AUTH_ENABLED. Clarify whether the credentials are effective without that setting, and update the example or explanation so the authentication behavior is unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.