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
&& sh install_influxdb3.sh {{% show-in "enterprise" %}}enterprise{{% /show-in %}}
76
50
```
77
-
{{% /code-tab-content %}}
78
-
{{< /code-tabs-wrapper >}}
79
51
80
-
## Download {{% product-name %}} binaries
52
+
> [!Note]
53
+
> The quick installer script is updated with each {{% product-name %}} release,
54
+
> so it always installs the latest version.
55
+
56
+
### Download and install the latest build artifacts
81
57
82
-
{{< tabs-wrapper >}}
83
-
{{% tabs %}}
84
-
[Linux](#)
85
-
[macOS](#)
86
-
[Windows](#)
87
-
{{% /tabs %}}
88
-
{{% tab-content %}}
58
+
You can also download and install [{{% product-name %}} build artifacts](/influxdb3/enterprise/install/#download-influxdb-3-enterprise-binaries) directly:
89
59
90
-
<!-------------------------------- BEGIN LINUX -------------------------------->
<!-------------------------------- END WINDOWS -------------------------------->
126
-
127
-
{{% /tab-content %}}
128
-
{{< /tabs-wrapper >}}
129
-
130
-
## Docker image
131
-
132
-
Use the `influxdb:3-{{< product-key >}}` Docker image to deploy {{< product-name >}} in a
133
-
Docker container.
134
-
The image is available for x86_64 (AMD64) and ARM64 architectures.
90
+
### Pull the Docker image
135
91
136
-
### Use Docker CLI
92
+
Run the following command to pull the [`influxdb:3-{{< product-key >}}` image](https://hub.docker.com/_/influxdb/tags?tag=3-{{< product-key >}}&name=3-{{< product-key >}}), available for x86_64 (AMD64) and ARM64 architectures:
Docker automatically pulls the appropriate image for your system architecture.
144
100
101
+
{{< expand-wrapper >}}
102
+
{{% expand "Pull for a specific system architecture" %}}
145
103
To specify the system architecture, use platform-specific tags--for example:
146
104
147
105
```bash
@@ -157,79 +115,31 @@ docker pull \
157
115
--platform linux/arm64 \
158
116
influxdb:3-{{< product-key >}}
159
117
```
118
+
{{% /expand %}}
119
+
{{< /expand-wrapper >}}
160
120
161
-
> [!Note]
162
-
> The {{% product-name %}} Docker image exposes port `8181`, the `influxdb3` server default for HTTP connections.
163
-
> To map the exposed port to a different port when running a container, see the Docker guide for [Publishing and exposing ports](https://docs.docker.com/get-started/docker-concepts/running-containers/publishing-ports/).
164
121
165
-
### Use Docker Compose
122
+
### Verify the installation
166
123
167
-
{{% show-in "enterprise" %}}
168
-
1. Open `compose.yaml` for editing and add a `services` entry for {{% product-name %}}.
169
-
To generate a trial or at-home license for {{% product-name %}} when using Docker, you must pass the `--license-email` option or the `INFLUXDB3_LICENSE_EMAIL` environment variable the first time you start the server--for example:
170
-
171
-
```yaml
172
-
# compose.yaml
173
-
services:
174
-
influxdb3-{{< product-key >}}:
175
-
container_name: influxdb3-{{< product-key >}}
176
-
image: influxdb:3-{{< product-key >}}
177
-
ports:
178
-
- 8181:8181
179
-
command:
180
-
- influxdb3
181
-
- serve
182
-
- --node-id=node0
183
-
- --cluster-id=cluster0
184
-
- --object-store=file
185
-
- --data-dir=/var/lib/influxdb3
186
-
- --plugins-dir=/var/lib/influxdb3-plugins
187
-
- --license-email=${INFLUXDB3_LICENSE_EMAIL}
188
-
```
189
-
{{% /show-in %}}
190
-
{{% show-in "core" %}}
191
-
1. Open `compose.yaml` for editing and add a `services` entry for {{% product-name %}}--for example:
192
-
193
-
```yaml
194
-
# compose.yaml
195
-
services:
196
-
influxdb3-{{< product-key >}}:
197
-
container_name: influxdb3-{{< product-key >}}
198
-
image: influxdb:3-{{< product-key >}}
199
-
ports:
200
-
- 8181:8181
201
-
command:
202
-
- influxdb3
203
-
- serve
204
-
- --node-id=node0
205
-
- --object-store=file
206
-
- --data-dir=/var/lib/influxdb3
207
-
- --plugins-dir=/var/lib/influxdb3-plugins
208
-
```
209
-
{{% /show-in %}}
124
+
After installing {{% product-name %}}, enter the following command to verify
125
+
that it installed successfully:
210
126
211
-
2. Use the Docker Compose CLI to start the server.
127
+
```bash
128
+
influxdb3 --version
129
+
```
212
130
213
-
Optional: to make sure you have the latest version of the image before you
214
-
start the server, run `docker compose pull`.
131
+
If your system doesn't locate `influxdb3`, then `source` the configuration file (for example, .bashrc, .zshrc) for your shell--for example:
215
132
216
-
<!--pytest.mark.skip-->
217
-
```bash
218
-
docker compose pull && docker compose run influxdb3-{{< product-key >}}
219
-
```
133
+
<!--pytest.mark.skip-->
134
+
```zsh
135
+
source~/.zshrc
136
+
```
220
137
138
+
{{% show-in "enterprise" %}}
221
139
> [!Note]
222
-
> #### Stopping an InfluxDB 3 container
223
-
>
224
-
> To stop a running InfluxDB 3 container, find and terminate the process or container--for example:
225
-
>
226
-
> <!--pytest.mark.skip-->
227
-
> ```bash
228
-
> docker container ls --filter "name=influxdb3"
229
-
> docker kill <CONTAINER_ID>
230
-
> ```
231
-
>
232
-
> Currently, a bug prevents using {{< keybind all="Ctrl+c" >}} in the terminal to stop an InfluxDB 3 container.
140
+
> For information about setting up a multi-node {{% product-name %}} cluster,
141
+
> see [Create a multi-node cluster](/influxdb3/enterprise/install/multi-server/).
142
+
{{% /show-in %}}
233
143
234
144
{{% show-in "enterprise" %}}
235
145
{{< page-nav next="/influxdb3/enterprise/get-started/" nextText="Get started with InfluxDB 3 Enterprise" >}}
0 commit comments