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: content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md
+48-32Lines changed: 48 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,13 @@ weight: 600
13
13
<spanid="prereq"></span>
14
14
## Prerequisites
15
15
16
-
- Docker installation
17
-
- for NGINX Plus: JWT license file, *nginx-repo.crt* and *nginx-repo.key* files
16
+
- The [Docker Engine](https://docs.docker.com/engine/install/) command-line tool
17
+
- for NGINX Plus:
18
+
19
+
* the JSON Web Token (JWT) from [MyF5](https://my.f5.com) customer portal
20
+
* the *nginx-repo.crt* and *nginx-repo.key* files from [MyF5](https://my.f5.com) customer portal
21
+
* your private Docker registry is configured and running
22
+
18
23
- for NGINX Open Source: [Docker Hub](https://hub.docker.com/) account
19
24
20
25
@@ -23,18 +28,20 @@ weight: 600
23
28
24
29
Since NGINX Plus <ahref="../../../releases/#r31">Release 31</a> you can get an NGINX Plus image from the official NGINX Plus Docker registry and upload it to your private registry.
25
30
26
-
The NGINX Plus Docker registry is available at `https://private-registry.nginx.com/v2/`. It contains the following image types:
31
+
The NGINX Plus Docker registry is available at `https://private-registry.nginx.com/v2/`.
To start the Docker container, replace `YOUR_DATA_PLANE_KEY` with your data plane key and `YOUR_JWT_HERE` with your JWT, `VERSION_TAG` with the version tag you pulled.
202
-
203
-
**For NGINX Plus R33**:
210
+
{{< note >}} Starting from [NGINX Plus Release 33]({{< ref "nginx/releases.md#r33" >}}), the JWT file is required for each NGINX Plus instance. For more information, see [About Subscription Licenses]({{< ref "/solutions/about-subscription-licenses.md">}}). {{< /note >}}
204
211
205
-
- Use the `NGINX_LICENSE_JWT` variable to pass your JWT license
206
-
- Alternatively, specify the license file path with `NGINX_LICENSE_PATH` (default: `/etc/nginx/license.jwt`).
207
-
s
208
-
For more information about NGINX Plus license and usage reporting see [About Subscription Licenses]({{< ref "/solutions/about-subscription-licenses.md">}}).
212
+
To start the Docker container with NGINX Plus, you will need to pass your JWT license file named `license.jwt` as the `NGINX_LICENSE_JWT` environment variable. If the license file needs to be located in a non-default directory, specify its full path using the `NGINX_LICENSE_PATH` variable (default path: `/etc/nginx/license.jwt`).
209
213
210
214
To start the Docker container with NGINX Plus only:
To start the Docker container with NGINX Plus and NGINX Agent:
223
+
To start the Docker container with NGINX Plus and NGINX Agent,
224
+
you will need to additionally pass the NGINX One data plane key as the `NGINX_AGENT_SERVER_TOKEN` environment variable. For more information, see [Create and manage data plane keys](https://docs.nginx.com/nginx-one/how-to/data-plane-keys/create-manage-data-plane-keys/):
-`NGINX_LICENSE_JWT` is your JWT license file from MyF5. The file name should be `license.jwt`.
240
+
-`NGINX_AGENT_SERVER_GRPCPORT` sets a GRPC port used by NGINX Agent to communicate with NGINX Instance Manager.
241
+
-`NGINX_AGENT_SERVER_HOST` sets the domain name or IP address of NGINX Instance Manager. Note that for production environments it is not recommended to expose NGINX Instance Manager to public networks.
242
+
-`NGINX_AGENT_SERVER_TOKEN` sets NGINX One data plane key. See [Create and manage data plane keys](https://docs.nginx.com/nginx-one/how-to/data-plane-keys/create-manage-data-plane-keys/) for details.
243
+
-`NGINX_AGENT_TLS_ENABLE` enables mutual TLS, server-side TLS, or insecure mode (not recommended for production environments). See [Encrypt communication](https://docs.nginx.com/nginx-agent/configuration/encrypt-communication/) for details.
244
+
-`YOUR_REGISTRY` is the path to your private registry.
245
+
-`VERSION_TAG` is the tag assigned when pushing to your registry.
246
+
247
+
232
248
<br>
233
249
234
250
{{<call-out "" "Example:" "" >}}
235
-
To start the container with the `debian` or `ubuntu` image:
251
+
To start the Docker Container with NGINX Plus and NGINX Agent on Debian or Ubuntu:
0 commit comments