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
* 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]>
Copy file name to clipboardExpand all lines: content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md
+13-13
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ type:
24
24
25
25
26
26
<spanid="nginx_plus_official_images"></span>
27
-
## Using official NGINX Plus Docker images
27
+
## Use official NGINX Plus Docker images
28
28
29
29
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.
30
30
@@ -66,7 +66,7 @@ The NGINX Plus registry contains images for the two most recent versions of NGIN
66
66
67
67
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.
68
68
69
-
### Listing all tags
69
+
### List all tags
70
70
71
71
For a complete tag list for NGINX Plus bundled with NGINX Agent images, use the command:
72
72
@@ -90,7 +90,7 @@ where:
90
90
91
91
92
92
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}
94
94
95
95
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:
96
96
@@ -109,7 +109,7 @@ Before you get a container image, you should provide the JSON Web Token file or
109
109
110
110
{{% /tabs %}}
111
111
112
-
### Set up Docker for NGINX Plus Container Registry
112
+
### Set up Docker for NGINX Plus container registry
113
113
114
114
Set up Docker to communicate with the NGINX Container Registry located at `private-registry.nginx.com`.
{{< 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 >}}
211
211
@@ -390,7 +390,7 @@ Any change made to the files in the local directories `/var/www and /var/nginx/c
390
390
391
391
392
392
<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
394
394
395
395
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.
396
396
@@ -421,7 +421,7 @@ To make changes to the files in the container, use a helper container as describ
421
421
422
422
423
423
<span id="manage_container"></span>
424
-
### Maintaining Content and Configuration Files in the Container
424
+
### Maintain content and configuration files in the container
425
425
426
426
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:
427
427
@@ -476,12 +476,12 @@ To exit the shell and terminate the container, run the `exit` command.
476
476
477
477
478
478
<span id="log"></span>
479
-
## Managing Logging
479
+
## Manage logging
480
480
481
481
You can use default logging or customize logging.
482
482
483
483
<span id="log_default"></span>
484
-
### Using Default Logging
484
+
### Use default logging
485
485
486
486
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:
487
487
@@ -507,7 +507,7 @@ To include only access log messages in the output, include only `stdout=1`. To l
507
507
508
508
509
509
<span id="log_custom"></span>
510
-
### Using Customized Logging
510
+
### Use customized logging
511
511
512
512
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.
513
513
@@ -524,7 +524,7 @@ Then you can [create an image](#docker_plus_image) and use it to create an NGINX
524
524
525
525
526
526
<span id="control"></span>
527
-
## Controlling NGINX
527
+
## Control NGINX
528
528
529
529
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.
0 commit comments