From 7344d542b7e83b6ad273a833ee7c8916739e5573 Mon Sep 17 00:00:00 2001 From: nginx-seanmoloney <133861979+nginx-seanmoloney@users.noreply.github.com> Date: Mon, 9 Sep 2024 14:54:32 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Jon Torre <78599298+Jcahilltorre@users.noreply.github.com> --- .../container-environments/docker-images.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/site/content/installation-upgrade/container-environments/docker-images.md b/site/content/installation-upgrade/container-environments/docker-images.md index 1cddb922a0..30d4aef251 100644 --- a/site/content/installation-upgrade/container-environments/docker-images.md +++ b/site/content/installation-upgrade/container-environments/docker-images.md @@ -21,7 +21,7 @@ See the requirements and supported operating systems in the [NGINX Agent Technic Docker images are available in the [Deploying NGINX and NGINX Plus on Docker](https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-docker/) NGINX documentation. -This page provides instructions on how to build images with the NGINX agent and NGINX packaged together. It includes steps for downloading the necessary Docker images, configuring your Docker environment, and deploying NGINX and NGINX Plus containers. +The document provides instructions on how to build images with NGINX Agent and NGINX packaged together. It includes steps for downloading the necessary Docker images, configuring your Docker environment, and deploying NGINX and NGINX Plus containers. ## Set up your environment @@ -204,7 +204,8 @@ docker run --name nginx-agent -d \ nginx-agent ``` -To ensure that the REST Interface is correctly configured, you can curl the following endpoint from your terminal: +To ensure that the REST Interface is correctly configured, you can use the `curl` command targeting the following endpoint from your terminal: + ```shell curl 0.0.0.0:8038/nginx/ ``` @@ -241,13 +242,13 @@ Keep the following information in mind when using the NGINX Agent [Dockerfiles]( ### Build NGINX open source images -Run the following **make** command to build the default image, which uses Alpine as the base image. +Run the following `make` command to build the default image, which uses Alpine as the base image: ```shell IMAGE_BUILD_TARGET=install-agent-repo make oss-image ``` -To build an image with debian and older version of the NGINX Agent you can run the following command. +To build an image with Debian and an older version of NGINX Agent you can run the following command: ```shell IMAGE_BUILD_TARGET=install-agent-repo NGINX_AGENT_VERSION=2.37.0~bullseye OS_RELEASE=debian OS_VERSION=bullseye-slim make oss-image @@ -264,7 +265,7 @@ Run the following `make` command to build the default image, which uses Ubuntu 2 IMAGE_BUILD_TARGET=install-agent-repo make image ``` -To build an image with debian and older version of the NGINX Agent you can run the following command. +To build an image with Debian and an older version of NGINX Agent you can run the following command: ```shell IMAGE_BUILD_TARGET=install-agent-repo NGINX_AGENT_VERSION=2.37.0~bullseye OS_RELEASE=debian OS_VERSION=bullseye-slim make image