InfluxDB Version 0.9.4.2 with authentication enabled by default. If no database directory can be found when starting this container a new user account for $ADMIN_USER (docker) and $ADMIN_PASS (auto-generated on first start) with admin privileges will be created.
You have to mount a /data volume to persist data. If you want you can mount your own config directory containing a config.toml file.
To run execute:
docker run -d --name=influxdb -v <data-dir>:/data:rw -p 8083:8083 -p 8086:8086 pteich/influxdb
Possible environment variables:
ADMIN_USER admin user name, defaults to docker
ADMIN_PASS admin user password, auto-generated if missing and no data found
HOSTNAME changes hostname in config.toml to provided hostname or tries to get current hostname if value is auto
To find your auto-generated password check the container's logs with
docker logs influxdb
You can use the same image to start an Influx client shell connected to a running InfluxDB image with name influxdb:
docker run -it --link influxdb:influxdb --rm pteich/influxdb /opt/influxdb/influx -host=influxdb
Full InfluxDB documentation https://influxdb.com/docs/v0.9/introduction/overview.html
Content type
Image
Digest
sha256:baf0e85d5…
Size
108.3 MB
Last updated
almost 11 years ago
docker pull pteich/influxdb