Public | Automated Build

Last pushed: 2 years ago
Short Description
InfluxDB Ver.
Full Description

InfluxDB Version 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

Docker Pull Command
Source Repository