%%LOGO%%
InfluxDB is the time series database platform designed to collect, store, and process large amounts of event and time series data. Ideal for monitoring (sensors, servers, applications, networks), financial analytics, and behavioral tracking.
%%COMPOSE%%
Alternatively, you can use the following command to start InfluxDB 3 Core:
docker run --rm -p 8181:8181 \
-v $PWD/data:/var/lib/influxdb3/data \
-v $PWD/plugins:/var/lib/influxdb3/plugins \
%%IMAGE%%:3-core influxdb3 serve \
--node-id=my-node-0 \
--object-store=file \
--data-dir=/var/lib/influxdb3/data \
--plugin-dir=/var/lib/influxdb3/plugins
InfluxDB 3 Core starts with:
/var/lib/influxdb3/data8181After starting your InfluxDB 3 server, follow the Get Started guide to create an authorization token and start writing, querying, and processing data via the built-in influxdb3 CLI or the HTTP API.
Use the following tools with InfluxDB 3 Core:
Customize your instance with available server options:
docker run --rm %%IMAGE%%:3-core influxdb3 serve --help
%%IMAGE%%:3-core - Latest InfluxDB OSS (InfluxDB 3 Core)%%IMAGE%%:2 - Previous generation OSS (InfluxDB v2)%%IMAGE%%:1.11 - InfluxDB v1%%IMAGE%%:3-core) - Latest OSS%%IMAGE%%:2)%%IMAGE%%:1.11)%%IMAGE%%:3-enterprise)Adds unlimited data retention, compaction, clustering, and high availability to InfluxDB 3 Core.
For setup instructions, see the InfluxDB 3 Enterprise installation documentation.
%%IMAGE%%:1.11-data - Data nodes for clustering%%IMAGE%%:1.11-meta - Meta nodes for cluster coordination (port 8091)For setup instructions, see the InfluxDB v1 Enterprise Docker documentation.
To migrate from v1 or v2 to InfluxDB 3:
InfluxDB v2 is a previous version. Consider InfluxDB 3 Core for new deployments.
Enter the following command to start InfluxDB v2 initialized with custom configuration:
docker run -d -p 8086:8086 \
-v $PWD/data:/var/lib/influxdb2 \
-v $PWD/config:/etc/influxdb2 \
-e DOCKER_INFLUXDB_INIT_MODE=setup \
-e DOCKER_INFLUXDB_INIT_USERNAME=my-user \
-e DOCKER_INFLUXDB_INIT_PASSWORD=my-password \
-e DOCKER_INFLUXDB_INIT_ORG=my-org \
-e DOCKER_INFLUXDB_INIT_BUCKET=my-bucket \
%%IMAGE%%:2
After the container starts, visit http://localhost:8086 to view the UI.
For detailed instructions, see the InfluxDB v2 Docker Compose documentation.
InfluxDB v1 is a previous version. Consider InfluxDB 3 Core for new deployments.
docker run -d -p 8086:8086 \
-v $PWD:/var/lib/influxdb \
%%IMAGE%%:1.11
This starts InfluxDB v1 with:
For more information, see the InfluxDB v1 Docker documentation. For v1 Enterprise installation, see the InfluxDB Enterprise v1 documentation.