You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: influxdb/content.md
+16-29Lines changed: 16 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,4 @@
1
-
What is InfluxDB?
2
-
=================
1
+
# What is InfluxDB?
3
2
4
3
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.
5
4
@@ -9,13 +8,11 @@ For more information, visit https://influxdata.com.
9
8
10
9
%%LOGO%%
11
10
12
-
How to use this image for InfluxDB v2
13
-
=====================================
11
+
# How to use this image for InfluxDB v2
14
12
15
13
**Quick start**: See the guide to [Install InfluxDB v2 for Docker](https://docs.influxdata.com/influxdb/v2/install/?t=Docker) and get started using InfluxDB v2.
16
14
17
-
Start InfluxDB v2 and set up with the UI, CLI, or API
## Start InfluxDB v2 and set up with the UI, CLI, or API
19
16
20
17
To start an InfluxDB v2 container that you can then set up using the included UI, the `influx` CLI, or the HTTP API, enter the following command:
21
18
@@ -51,8 +48,7 @@ See the [`influx setup` documentation](https://docs.influxdata.com/influxdb/v2/r
51
48
52
49
*If you run setup from within the container, InfluxDB stores `influx` CLI [connection configurations](/influxdb/v2/reference/cli/influx/#provide-required-authentication-credentials) in the container's `/etc/influxdb2/influx-configs` file.*
53
50
54
-
Start InfluxDB v2 with automated setup
55
-
--------------------------------------
51
+
## Start InfluxDB v2 with automated setup
56
52
57
53
To start and set up InfluxDB v2 with a single command, specify `-e DOCKER_INFLUXDB_INIT_MODE=setup` and `-e DOCKER_INFLUXDB_INIT_` environment variables for the initial user, password, bucket, and organization--for example:
58
54
@@ -181,8 +177,7 @@ docker run -p 8086:8086 \
181
177
>
182
178
> This behavior allows for the InfluxDB container to reboot post-setup and avoid overwriting migrated data, `DB is already set up` errors, and errors from non-idempotent script commands.
183
179
184
-
Access InfluxDB v2 file system and ports
185
-
----------------------------------------
180
+
## Access InfluxDB v2 file system and ports
186
181
187
182
When starting an InfluxDB container, we recommend the following for easy access to your data, configurations, and InfluxDB v2 instance:
188
183
@@ -261,8 +256,8 @@ The automated upgrade process creates the following in the InfluxDB v2 container
261
256
- an initial admin user
262
257
- an initial organization
263
258
- an initial bucket
264
-
- InfluxDB v2 data files (the default path is `/var/lib/influxdb2`\)
265
-
- InfluxDB v2 configuration files (the default path is `/etc/influxdb2`\)
259
+
- InfluxDB v2 data files (the default path is `/var/lib/influxdb2`)
260
+
- InfluxDB v2 configuration files (the default path is `/etc/influxdb2`)
266
261
267
262
*Mount volumes at both paths to avoid losing data.*
268
263
@@ -322,7 +317,7 @@ docker run -p 8086:8086 \
322
317
323
318
#### Upgrade InfluxDB 1.x: custom configuration
324
319
325
-
Assume you've been running an InfluxDB 1.x deployment with customized configuration (`/etc/influxdb/influxdb.conf`\):
320
+
Assume you've been running an InfluxDB 1.x deployment with customized configuration (`/etc/influxdb/influxdb.conf`):
326
321
327
322
```console
328
323
docker run -p 8086:8086 \
@@ -448,13 +443,11 @@ docker run -p 8086:8086 \
448
443
%%IMAGE%%:2
449
444
```
450
445
451
-
How to use this image for InfluxDB v1
452
-
=====================================
446
+
# How to use this image for InfluxDB v1
453
447
454
448
Use the InfluxDB Docker Hub image to run and set up an [InfluxDB 1.x](https://docs.influxdata.com/influxdb/v1/) container.
455
449
456
-
Running the container
457
-
---------------------
450
+
## Running the container
458
451
459
452
To start an InfluxDB 1.x container, enter the following command:
460
453
@@ -473,8 +466,7 @@ Replace `$PWD` with the host directory where you want InfluxDB to store data.
473
466
474
467
*Use Docker [Volumes](https://docs.docker.com/storage/volumes/) or [Bind mounts](https://docs.docker.com/storage/bind-mounts/) to persist InfluxDB [data and configuration directories](https://docs.influxdata.com/influxdb/v1/concepts/file-system-layout/).*
475
468
476
-
Networking ports
477
-
----------------
469
+
## Networking ports
478
470
479
471
InfluxDB uses the following networking ports:
480
472
@@ -483,8 +475,7 @@ InfluxDB uses the following networking ports:
483
475
484
476
Using the `docker run`[`-P, --publish-all` flag](https://docs.docker.com/reference/cli/docker/container/run/#publish-all) exposes the InfluxDB HTTP API to the host.
485
477
486
-
Configure InfluxDB v1 in a container
487
-
------------------------------------
478
+
## Configure InfluxDB v1 in a container
488
479
489
480
To configure InfluxDB v1 in a container, use a configuration file or environment variables.
490
481
@@ -522,8 +513,7 @@ docker run -p 8086:8086 \
522
513
523
514
Learn more about [configuring InfluxDB v1](https://docs.influxdata.com/influxdb/v1.8/administration/config/).
524
515
525
-
Graphite
526
-
--------
516
+
## Graphite
527
517
528
518
InfluxDB supports the Graphite line protocol, but the service and ports are not exposed by default. To run InfluxDB with Graphite support enabled, you can either use a configuration file or set the appropriate environment variables. Run InfluxDB with the default Graphite configuration:
See the [README on GitHub](https://github.com/influxdata/influxdb/blob/master/services/graphite/README.md) for more detailed documentation to set up the Graphite service. In order to take advantage of graphite templates, you should use a configuration file by outputting a default configuration file using the steps above and modifying the `[[graphite]]` section.
Copy file name to clipboardExpand all lines: influxdb/variant-data.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,4 @@
1
-
`%%IMAGE%%:data`
2
-
----------------
1
+
## `%%IMAGE%%:data`
3
2
4
3
*Using this image for [InfluxDB Enterprise](https://docs.influxdata.com/enterprise_influxdb/v1/introduction/installation/meta_node_installation/#license-key-or-file) requires a valid InfluxData [license key](https://docs.influxdata.com/enterprise_influxdb/v1/introduction/installation/meta_node_installation/#license-key-or-file).*
0 commit comments