Skip to content

Commit 8985d53

Browse files
Update nginx.md
Incorrect docker image used. (unable to start container process: exec: "htpasswd": executable file not found in $PATH: unknown.)
1 parent 7079dc4 commit 8985d53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

registry/recipes/nginx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Review the [requirements](index.md#requirements), then follow these steps.
155155
3. Create a password file `auth/nginx.htpasswd` for "testuser" and "testpassword".
156156

157157
```console
158-
$ docker run --rm --entrypoint htpasswd registry:2 -Bbn testuser testpassword > auth/nginx.htpasswd
158+
$ docker run --rm --entrypoint htpasswd httpd:2 -Bbn testuser testpassword > auth/nginx.htpasswd
159159
```
160160

161161
> **Note**: If you do not want to use `bcrypt`, you can omit the `-B` parameter.

0 commit comments

Comments
 (0)