Skip to content

Commit 27be8b0

Browse files
apgordon312mjang
andauthored
Update installing-nginx-docker.md (#499)
* Update installing-nginx-docker.md Removed gerunds from headings and also fixed capitalization. * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Agreed per our discussion! Co-authored-by: Mike Jang <[email protected]> * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Committing change from title case to sentence case. * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Committing change from title case to sentence case. * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Committing change from title case to sentence case. * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Committing change from title case to sentence case. * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Committing change from title case to sentence case. * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Committing change from title case to sentence case. * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Committing change from title case to sentence case. * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Committing change from title case to sentence case. * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Committing change from title case to sentence case. * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Committing change from title case to sentence case. * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Committing change from title case to sentence case. * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md Committing change from title case to sentence case. * Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md --------- Co-authored-by: Mike Jang <[email protected]>
1 parent 169c88e commit 27be8b0

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type:
2424

2525

2626
<span id="nginx_plus_official_images"></span>
27-
## Using official NGINX Plus Docker images
27+
## Use official NGINX Plus Docker images
2828

2929
Since NGINX Plus NGINX Plus [Release 31]({{< ref "nginx/releases.md#r31" >}}) you can get an NGINX Plus image from the official NGINX Plus Docker registry and upload it to your private registry.
3030

@@ -66,7 +66,7 @@ The NGINX Plus registry contains images for the two most recent versions of NGIN
6666

6767
The image may contain a particular version of NGINX Plus or contain a bundle of NGINX Plus and NGINX Agent, and can be targeted for a specific architecture.
6868

69-
### Listing all tags
69+
### List all tags
7070

7171
For a complete tag list for NGINX Plus bundled with NGINX Agent images, use the command:
7272

@@ -90,7 +90,7 @@ where:
9090

9191

9292

93-
### Downloading the JSON Web Token or NGINX Plus certificate and key {#myf5-download}
93+
### Download the JSON Web Token or NGINX Plus certificate and key {#myf5-download}
9494

9595
Before you get a container image, you should provide the JSON Web Token file or SSL certificate and private key files provided with your NGINX Plus subscription. These files grant access to the package repository from which the script will download the NGINX Plus package:
9696

@@ -109,7 +109,7 @@ Before you get a container image, you should provide the JSON Web Token file or
109109

110110
{{% /tabs %}}
111111

112-
### Set up Docker for NGINX Plus Container Registry
112+
### Set up Docker for NGINX Plus container registry
113113

114114
Set up Docker to communicate with the NGINX Container Registry located at `private-registry.nginx.com`.
115115

@@ -144,7 +144,7 @@ docker login private-registry.nginx.com
144144

145145
{{% /tabs %}}
146146

147-
### Pulling the image
147+
### Pull the image
148148

149149
Next, pull the image you need from `private-registry.nginx.com`.
150150

@@ -183,7 +183,7 @@ docker pull private-registry.nginx.com/nginx-plus/modules:<version-tag>
183183

184184
{{< include "security/jwt-password-note.md" >}}
185185

186-
### Pushing the image to your private registry
186+
### Push the image to your private registry
187187

188188
After pulling the image, tag it and upload it to your private registry.
189189

@@ -205,7 +205,7 @@ docker tag private-registry.nginx.com/nginx-plus/base:<version-tag> <my-docker-r
205205
docker push <my-docker-registry>/nginx-plus/base:<version-tag>
206206
```
207207

208-
### Running the NGINX Plus container
208+
### Run the NGINX Plus container
209209

210210
{{< 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 >}}
211211

@@ -390,7 +390,7 @@ Any change made to the files in the local directories `/var/www and /var/nginx/c
390390
391391
392392
<span id="manage_copy"></span>
393-
### Copying Content and Configuration Files from the Docker Host
393+
### Copy content and configuration files from the Docker host
394394
395395
Docker can copy the content and configuration files from a local directory on the Docker host during container creation. Once a container is created, the files are maintained by creating a new container when files change or by modifying the files in the container.
396396
@@ -421,7 +421,7 @@ To make changes to the files in the container, use a helper container as describ
421421
422422
423423
<span id="manage_container"></span>
424-
### Maintaining Content and Configuration Files in the Container
424+
### Maintain content and configuration files in the container
425425
426426
As SSH cannot be used to access the NGINX container, to edit the content or configuration files directly you need to create a helper container that has shell access. For the helper container to have access to the files, create a new image that has the proper Docker data volumes defined for the image:
427427
@@ -476,12 +476,12 @@ To exit the shell and terminate the container, run the `exit` command.
476476
477477
478478
<span id="log"></span>
479-
## Managing Logging
479+
## Manage logging
480480
481481
You can use default logging or customize logging.
482482
483483
<span id="log_default"></span>
484-
### Using Default Logging
484+
### Use default logging
485485
486486
By default, the NGINX image is configured to send NGINX [access log](https://nginx.org/en/docs/http/ngx_http_log_module.html#access_log) and [error log](https://nginx.org/en/docs/ngx_core_module.html#error_log) to the Docker log collector. This is done by linking them to `stdout` and `stderr`: all messages from both logs are then written to the file `/var/lib/docker/containers/container-ID/container-ID-json.log` on the Docker host. The container‑ID is the long‑form ID returned when you [create a container](#docker_oss_image). To display the long form ID, run the command:
487487
@@ -507,7 +507,7 @@ To include only access log messages in the output, include only `stdout=1`. To l
507507
508508
509509
<span id="log_custom"></span>
510-
### Using Customized Logging
510+
### Use customized logging
511511
512512
If you want to configure logging differently for certain configuration blocks (such as `server {}` and `location {}`), define a Docker volume for the directory in which to store the log files in the container, create a helper container to access the log files, and use any logging tools. To implement this, create a new image that contains the volume or volumes for the logging files.
513513
@@ -524,7 +524,7 @@ Then you can [create an image](#docker_plus_image) and use it to create an NGINX
524524
525525
526526
<span id="control"></span>
527-
## Controlling NGINX
527+
## Control NGINX
528528
529529
Since there is no direct access to the command line of the NGINX container, NGINX commands cannot be sent to a container directly. Instead, [signals](https://nginx.org/en/docs/control.html) can be sent to a container via Docker `kill` command.
530530

0 commit comments

Comments
 (0)