Skip to content

Commit 95e2c7e

Browse files
authored
Merge branch 'master' into jmercer/complete-plugin-sync-fix
2 parents 469be43 + b15807b commit 95e2c7e

File tree

351 files changed

+515
-413
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

351 files changed

+515
-413
lines changed

content/influxdb/v1/introduction/install/docker.md

Lines changed: 57 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ This guide covers Docker installation, configuration, and initialization options
3535
- [Access the InfluxDB CLI](#access-the-influxdb-cli)
3636
- [Next steps](#next-steps)
3737

38-
3938
## Install and run InfluxDB
4039

4140
### Pull the InfluxDB v1.x image
@@ -44,8 +43,34 @@ This guide covers Docker installation, configuration, and initialization options
4443
docker pull influxdb:{{< latest-patch >}}
4544
```
4645

46+
### Volume permissions
47+
48+
> \[!Important]
49+
> The InfluxDB Docker container runs as user influxdb with UID/GID 1500.
50+
> When mounting volumes for persistent storage, ensure the mounted directory on the host is owned by UID/GID 1500, or InfluxDB may not have permission to write data.
51+
52+
Set the correct ownership before starting the container:
53+
54+
#### Create the data directory
55+
56+
mkdir -p data
57+
58+
#### Set ownership to UID/GID 1500
59+
60+
sudo chown -R 1500:1500 data
61+
4762
### Start InfluxDB
4863

64+
> \[!Important]
65+
> On MacOS due to issues related to docker desktop's VM and local binds
66+
> you must use either a *delegated local directory* or a *named volume* when starting a container.
67+
68+
{{< tabs-wrapper >}}
69+
{{% tabs %}}
70+
[Linux/Windows](#)
71+
[MacOS (Docker Desktop)](#)
72+
{{% /tabs %}}
73+
{{% tab-content %}}
4974
Start a basic InfluxDB container with persistent storage:
5075

5176
```bash
@@ -54,7 +79,31 @@ docker run -p 8086:8086 \
5479
influxdb:{{< latest-patch >}}
5580
```
5681

57-
InfluxDB is now running and available at http://localhost:8086.
82+
{{% /tab-content %}}
83+
{{% tab-content %}}
84+
On MacOS, you must use either a *delegated local directory* or a *named volume* when starting an InfluxDB container.
85+
86+
**Option A: Use a delegated local directory**
87+
88+
```bash
89+
docker run -p 8086:8086 \
90+
-v $PWD/data-test2:/var/lib/influxdb:delegated \
91+
influxdb:{{< latest-patch >}}
92+
```
93+
94+
**Option B: Use a named docker volume (still local, but managed by Docker Desktop)**
95+
96+
```bash
97+
docker run -d --name influxdb \
98+
-p 8086:8086 \
99+
-v influxdb-data:/var/lib/influxdb \
100+
influxdb:{{< latest-patch >}}
101+
```
102+
103+
{{% /tab-content %}}
104+
{{< /tabs-wrapper >}}
105+
106+
InfluxDB is now running and available at <http://localhost:8086>.
58107

59108
## Configure InfluxDB
60109

@@ -92,7 +141,7 @@ docker run -p 8086:8086 \
92141

93142
### Automatic initialization (for development)
94143

95-
> [!Warning]
144+
> \[!Warning]
96145
> Automatic initialization with InfluxDB v1 is not recommended for production.
97146
> Use this approach only for development and testing.
98147
@@ -109,6 +158,7 @@ docker run -p 8086:8086 \
109158
```
110159

111160
Environment variables for user creation:
161+
112162
- `INFLUXDB_USER`: Create a user with no privileges
113163
- `INFLUXDB_USER_PASSWORD`: Password for the user
114164
- `INFLUXDB_READ_USER`: Create a user who can read from `INFLUXDB_DB`
@@ -146,10 +196,11 @@ docker run -p 8086:8086 \
146196
```
147197

148198
Supported script types:
199+
149200
- Shell scripts (`.sh`)
150201
- InfluxDB query language files (`.iql`)
151202

152-
> [!Important]
203+
> \[!Important]
153204
> Initialization scripts only run on first startup when the data directory is empty.
154205
> Scripts execute in alphabetical order based on filename.
155206
@@ -166,6 +217,7 @@ Replace `<container-name>` with your InfluxDB container name or ID.
166217
## Next steps
167218

168219
Once you have InfluxDB running in Docker, see the [Get started guide](/influxdb/v1/introduction/get-started/) to:
220+
169221
- Create databases
170222
- Write and query data
171-
- Learn InfluxQL basics
223+
- Learn InfluxQL basics

content/telegraf/v1/aggregator-plugins/basicstats/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ introduced: "v1.5.0"
1010
os_support: "freebsd, linux, macos, solaris, windows"
1111
related:
1212
- /telegraf/v1/configure_plugins/
13-
- https://github.com/influxdata/telegraf/tree/v1.36.3/plugins/aggregators/basicstats/README.md, Basic Statistics Plugin Source
13+
- https://github.com/influxdata/telegraf/tree/v1.36.4/plugins/aggregators/basicstats/README.md, Basic Statistics Plugin Source
1414
---
1515

1616
# Basic Statistics Aggregator Plugin

content/telegraf/v1/aggregator-plugins/derivative/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ introduced: "v1.18.0"
1010
os_support: "freebsd, linux, macos, solaris, windows"
1111
related:
1212
- /telegraf/v1/configure_plugins/
13-
- https://github.com/influxdata/telegraf/tree/v1.36.3/plugins/aggregators/derivative/README.md, Derivative Plugin Source
13+
- https://github.com/influxdata/telegraf/tree/v1.36.4/plugins/aggregators/derivative/README.md, Derivative Plugin Source
1414
---
1515

1616
# Derivative Aggregator Plugin

content/telegraf/v1/aggregator-plugins/final/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ introduced: "v1.11.0"
1010
os_support: "freebsd, linux, macos, solaris, windows"
1111
related:
1212
- /telegraf/v1/configure_plugins/
13-
- https://github.com/influxdata/telegraf/tree/v1.36.3/plugins/aggregators/final/README.md, Final Plugin Source
13+
- https://github.com/influxdata/telegraf/tree/v1.36.4/plugins/aggregators/final/README.md, Final Plugin Source
1414
---
1515

1616
# Final Aggregator Plugin

content/telegraf/v1/aggregator-plugins/histogram/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ introduced: "v1.4.0"
1010
os_support: "freebsd, linux, macos, solaris, windows"
1111
related:
1212
- /telegraf/v1/configure_plugins/
13-
- https://github.com/influxdata/telegraf/tree/v1.36.3/plugins/aggregators/histogram/README.md, Histogram Plugin Source
13+
- https://github.com/influxdata/telegraf/tree/v1.36.4/plugins/aggregators/histogram/README.md, Histogram Plugin Source
1414
---
1515

1616
# Histogram Aggregator Plugin

content/telegraf/v1/aggregator-plugins/merge/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ introduced: "v1.13.0"
1010
os_support: "freebsd, linux, macos, solaris, windows"
1111
related:
1212
- /telegraf/v1/configure_plugins/
13-
- https://github.com/influxdata/telegraf/tree/v1.36.3/plugins/aggregators/merge/README.md, Merge Plugin Source
13+
- https://github.com/influxdata/telegraf/tree/v1.36.4/plugins/aggregators/merge/README.md, Merge Plugin Source
1414
---
1515

1616
# Merge Aggregator Plugin

content/telegraf/v1/aggregator-plugins/minmax/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ introduced: "v1.1.0"
1010
os_support: "freebsd, linux, macos, solaris, windows"
1111
related:
1212
- /telegraf/v1/configure_plugins/
13-
- https://github.com/influxdata/telegraf/tree/v1.36.3/plugins/aggregators/minmax/README.md, Minimum-Maximum Plugin Source
13+
- https://github.com/influxdata/telegraf/tree/v1.36.4/plugins/aggregators/minmax/README.md, Minimum-Maximum Plugin Source
1414
---
1515

1616
# Minimum-Maximum Aggregator Plugin

content/telegraf/v1/aggregator-plugins/quantile/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ introduced: "v1.18.0"
1010
os_support: "freebsd, linux, macos, solaris, windows"
1111
related:
1212
- /telegraf/v1/configure_plugins/
13-
- https://github.com/influxdata/telegraf/tree/v1.36.3/plugins/aggregators/quantile/README.md, Quantile Plugin Source
13+
- https://github.com/influxdata/telegraf/tree/v1.36.4/plugins/aggregators/quantile/README.md, Quantile Plugin Source
1414
---
1515

1616
# Quantile Aggregator Plugin

content/telegraf/v1/aggregator-plugins/starlark/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ introduced: "v1.21.0"
1010
os_support: "freebsd, linux, macos, solaris, windows"
1111
related:
1212
- /telegraf/v1/configure_plugins/
13-
- https://github.com/influxdata/telegraf/tree/v1.36.3/plugins/aggregators/starlark/README.md, Starlark Plugin Source
13+
- https://github.com/influxdata/telegraf/tree/v1.36.4/plugins/aggregators/starlark/README.md, Starlark Plugin Source
1414
---
1515

1616
# Starlark Aggregator Plugin

content/telegraf/v1/aggregator-plugins/valuecounter/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ introduced: "v1.8.0"
1010
os_support: "freebsd, linux, macos, solaris, windows"
1111
related:
1212
- /telegraf/v1/configure_plugins/
13-
- https://github.com/influxdata/telegraf/tree/v1.36.3/plugins/aggregators/valuecounter/README.md, Value Counter Plugin Source
13+
- https://github.com/influxdata/telegraf/tree/v1.36.4/plugins/aggregators/valuecounter/README.md, Value Counter Plugin Source
1414
---
1515

1616
# Value Counter Aggregator Plugin

0 commit comments

Comments
 (0)