Skip to content

Commit 9cfa2bf

Browse files
committed
docs: add InfluxDB 3 Core and Enterprise startup sections to Docker README
1 parent bc975d3 commit 9cfa2bf

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

influxdb/content.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,44 @@ InfluxDB 3 comes in two editions:
99

1010
For full documentation, visit the [InfluxDB 3 documentation site](https://docs.influxdata.com)
1111

12+
13+
# How to use this image
14+
15+
## Start InfluxDB 3 Core
16+
17+
To run the influxDB 3 Core container:
18+
19+
```bash
20+
docker run -d --name influxdb3-core -p 8086:8086 influxdb:3
21+
```
22+
23+
Once the container is running, generate an admin token and create a database:
24+
25+
```bash
26+
docker exec -it influxdb3-core influxdb3 generate token --admin
27+
docker exec -it influxdb3-core influxdb3 create database my_db --token <your_admin_token>
28+
```
29+
30+
To check the server health:
31+
32+
```bash
33+
curl localhost:8086/health
34+
```
35+
## Start InfluxDB 3 Enterprise
36+
37+
InfluxDB 3 Enterprise supports clustered deployments and advanced features. To start a local standalone Enterprise container for testing:
38+
39+
```bash
40+
docker run -d --name influxdb3-enterprise -p 8086:8086 influxdb:enterprise
41+
```
42+
43+
Them, generate a token and create a database:
44+
45+
```bash
46+
docker exec -it influxdb3-enterprise influxdb3 generate token --admin
47+
docker exec -it influxdb3-enterprise influxdb3 create database enterprise_db --token <your_admin_token>
48+
```
49+
1250
# What is InfluxDB?
1351

1452
InfluxDB is the time series data platform designed to handle high write and query workloads. Using InfluxDB, you can collect, store, and process large amounts of timestamped data, including metrics and events for use cases such as DevOps monitoring, application metrics, IoT sensors, and event monitoring.

0 commit comments

Comments
 (0)