From fd2750befa04531deba122319f7bc9921fbdb35d Mon Sep 17 00:00:00 2001 From: Mike Jang <3287976+mjang@users.noreply.github.com> Date: Mon, 28 Jul 2025 06:17:10 -0700 Subject: [PATCH 1/5] Include JWT license reference to installing-nginx-docker.md As suggested by @alessfg --- .../admin-guide/installing-nginx/installing-nginx-docker.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md b/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md index b47f900e3..c8df4c41d 100644 --- a/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md +++ b/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md @@ -316,7 +316,7 @@ This command also allows viewing the port mappings set in the previous step: the As NGINX Plus is a commercial offering, NGINX Plus Docker images are not available at Docker Hub, so first you will need to create an NGINX Plus Docker image. > **Note:** Never upload your NGINX Plus images to a public repository such as Docker Hub. Doing so violates your license agreement. - +∂no∂ To generate a custom NGINX Plus image: 1. Create the Docker build context, or a Dockerfile, for example: @@ -335,14 +335,14 @@ To generate a custom NGINX Plus image: - no files are copied from the Docker host as a container is created: you can add `COPY` definitions to each Dockerfile, or the image you create can be used as the basis for another image -3. Log in to [MyF5 Customer Portal](https://account.f5.com/myf5) and download your *nginx-repo.crt* and *nginx-repo.key* files. For a trial of NGINX Plus, the files are provided with your trial package. +3. Log in to [MyF5 Customer Portal](https://account.f5.com/myf5). As noted in the [Prerequisites](#prerequisites] and download your *nginx-repo.crt*, *nginx-repo.key*, and **JSON Web Token** files. In addition, download the corresponding For a trial of NGINX Plus, the files are provided with your trial package. 4. Copy the files to the directory where the Dockerfile is located. 5. Create a Docker image, for example, `nginxplus` (note the final period in the command). ```shell - docker build --no-cache --secret id=nginx-key,src=nginx-repo.key --secret id=nginx-crt,src=nginx-repo.crt -t nginxplus . + docker build --no-cache --secret id=nginx-key,src=nginx-repo.key --secret id=nginx-crt,src=nginx-repo.crt --secret id=nginx-jwt,src=license.jwt -t nginxplus . ``` The `--no-cache` option tells Docker to build the image from scratch and ensures the installation of the latest version of NGINX Plus. If the Dockerfile was previously used to build an image without the `--no-cache` option, the new image uses the version of NGINX Plus from the previously built image from the Docker cache. From a13389211c78d030c826201978ff03b14ef7b138 Mon Sep 17 00:00:00 2001 From: Mike Jang <3287976+mjang@users.noreply.github.com> Date: Mon, 28 Jul 2025 06:19:31 -0700 Subject: [PATCH 2/5] Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md --- .../admin-guide/installing-nginx/installing-nginx-docker.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md b/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md index c8df4c41d..4a3e031b2 100644 --- a/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md +++ b/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md @@ -316,7 +316,6 @@ This command also allows viewing the port mappings set in the previous step: the As NGINX Plus is a commercial offering, NGINX Plus Docker images are not available at Docker Hub, so first you will need to create an NGINX Plus Docker image. > **Note:** Never upload your NGINX Plus images to a public repository such as Docker Hub. Doing so violates your license agreement. -∂no∂ To generate a custom NGINX Plus image: 1. Create the Docker build context, or a Dockerfile, for example: From fe131ada1077d0fba52484c0c8a0eb6eba99e64c Mon Sep 17 00:00:00 2001 From: Mike Jang <3287976+mjang@users.noreply.github.com> Date: Mon, 28 Jul 2025 06:20:06 -0700 Subject: [PATCH 3/5] Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md --- .../admin-guide/installing-nginx/installing-nginx-docker.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md b/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md index 4a3e031b2..505bdfff1 100644 --- a/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md +++ b/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md @@ -316,6 +316,7 @@ This command also allows viewing the port mappings set in the previous step: the As NGINX Plus is a commercial offering, NGINX Plus Docker images are not available at Docker Hub, so first you will need to create an NGINX Plus Docker image. > **Note:** Never upload your NGINX Plus images to a public repository such as Docker Hub. Doing so violates your license agreement. + To generate a custom NGINX Plus image: 1. Create the Docker build context, or a Dockerfile, for example: From 985697cdd10571335c6f169f617547f13704276f Mon Sep 17 00:00:00 2001 From: Mike Jang <3287976+mjang@users.noreply.github.com> Date: Mon, 28 Jul 2025 09:04:24 -0700 Subject: [PATCH 4/5] Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Co-authored-by: yar --- .../admin-guide/installing-nginx/installing-nginx-docker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md b/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md index 505bdfff1..6498451df 100644 --- a/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md +++ b/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md @@ -335,7 +335,7 @@ To generate a custom NGINX Plus image: - no files are copied from the Docker host as a container is created: you can add `COPY` definitions to each Dockerfile, or the image you create can be used as the basis for another image -3. Log in to [MyF5 Customer Portal](https://account.f5.com/myf5). As noted in the [Prerequisites](#prerequisites] and download your *nginx-repo.crt*, *nginx-repo.key*, and **JSON Web Token** files. In addition, download the corresponding For a trial of NGINX Plus, the files are provided with your trial package. +3. Log in to [MyF5 Customer Portal](https://account.f5.com/myf5). As noted in the [Prerequisites](#prerequisites], download your *nginx-repo.crt*, *nginx-repo.key*, and **JSON Web Token** files. For a trial of NGINX Plus, the files are provided with your trial package. 4. Copy the files to the directory where the Dockerfile is located. From 06fab9c147633ee4c7ebdbdc5634a1b7735832a7 Mon Sep 17 00:00:00 2001 From: Mike Jang <3287976+mjang@users.noreply.github.com> Date: Mon, 28 Jul 2025 09:04:45 -0700 Subject: [PATCH 5/5] Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Co-authored-by: Alessandro Fael Garcia --- .../admin-guide/installing-nginx/installing-nginx-docker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md b/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md index 6498451df..f91225abb 100644 --- a/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md +++ b/content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md @@ -342,7 +342,7 @@ To generate a custom NGINX Plus image: 5. Create a Docker image, for example, `nginxplus` (note the final period in the command). ```shell - docker build --no-cache --secret id=nginx-key,src=nginx-repo.key --secret id=nginx-crt,src=nginx-repo.crt --secret id=nginx-jwt,src=license.jwt -t nginxplus . + docker build --no-cache --secret id=nginx-key,src=nginx-repo.key --secret id=nginx-crt,src=nginx-repo.crt --secret id=nginx-jwt,src=license.jwt -t nginxplus . ``` The `--no-cache` option tells Docker to build the image from scratch and ensures the installation of the latest version of NGINX Plus. If the Dockerfile was previously used to build an image without the `--no-cache` option, the new image uses the version of NGINX Plus from the previously built image from the Docker cache.