From 8985d538b912eff06cf02b9d096d2291331073aa Mon Sep 17 00:00:00 2001 From: pavljiks Date: Fri, 12 May 2023 12:33:02 +0300 Subject: [PATCH] Update nginx.md Incorrect docker image used. (unable to start container process: exec: "htpasswd": executable file not found in $PATH: unknown.) --- registry/recipes/nginx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/recipes/nginx.md b/registry/recipes/nginx.md index b4ba138f02..a077525c7c 100644 --- a/registry/recipes/nginx.md +++ b/registry/recipes/nginx.md @@ -155,7 +155,7 @@ Review the [requirements](index.md#requirements), then follow these steps. 3. Create a password file `auth/nginx.htpasswd` for "testuser" and "testpassword". ```console - $ docker run --rm --entrypoint htpasswd registry:2 -Bbn testuser testpassword > auth/nginx.htpasswd + $ docker run --rm --entrypoint htpasswd httpd:2 -Bbn testuser testpassword > auth/nginx.htpasswd ``` > **Note**: If you do not want to use `bcrypt`, you can omit the `-B` parameter.