Skip to content

Commit 0cd76e7

Browse files
committed
doc: Fix unprivileged image guide errors
1 parent e750aa8 commit 0cd76e7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ Dockerfile.buildkit.plus Dockerfile with the same configuration as Docke
7070
with support for hiding secrets using Docker's Buildkit
7171
Dockerfile.latest-njs Dockerfile that inherits from the last build of the gateway and
7272
then builds and installs the latest version of njs from source
73-
Dockerfile.latest-unpriviledged Dockerfiles that inherits from the last build of the gateway and
73+
Dockerfile.unprivileged Dockerfiles that inherits from the last build of the gateway and
7474
makes the necessary modifications to allow running the container
75-
as a non root, unpriviledged user.
75+
as a non root, unprivileged user.
7676
settings.example Docker env file example
7777
standalone_ubuntu_oss_install.sh install script that will install the gateway as a Systemd service
7878
test.sh test launcher

docs/development.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ If you invoke the test script with a plus parameter, you will need to add your
4444
NGINX repository keys to the `plus/etc/ssl/nginx` directory
4545

4646
```
47-
$ ./test.sh <nginx type - 'oss', 'latest-njs-oss', 'plus', or 'latest-njs-plus'>
47+
$ ./test.sh <nginx type - 'oss', 'latest-njs-oss', 'unprivileged', 'plus', or 'latest-njs-plus'>
4848
```

docs/getting_started.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@ docker run --env-file ./settings --publish 80:80 --name nginx-s3-gateway \
148148
nginx-s3-gateway:oss
149149
```
150150

151-
In the same way, if you want to use NGINX OSS container image as a non-root, unpriviledged user,
151+
In the same way, if you want to use NGINX OSS container image as a non-root, unprivileged user,
152152
you can build it as follows:
153153
```
154-
docker build --file Dockerfile.latest-unpriviledged --tag nginx-s3-gateway --tag nginx-s3-gateway:latest-unpriviledged-oss .
154+
docker build --file Dockerfile.unprivileged --tag nginx-s3-gateway --tag nginx-s3-gateway:unprivileged-oss .
155155
```
156156
And run the image binding the container port 8080 to 80 in the host like:
157157
```
158158
docker run --env-file ./settings --publish 80:8080 --name nginx-s3-gateway \
159-
nginx-s3-gateway:latest-unpriviledged-oss
159+
nginx-s3-gateway:unprivileged-oss
160160
```
161161

162162
### Building the NGINX Plus Container Image

0 commit comments

Comments
 (0)