From a1b262f0837eadf17a49b0eb6e20e18f4bd4e9a6 Mon Sep 17 00:00:00 2001 From: Michael Bonfils Date: Sun, 10 Dec 2023 16:28:19 +0100 Subject: [PATCH] Update nginx.md htpasswd is no more available in registry:2 container, switch to httpd official image to create auth file Signed-off-by: Michael Bonfils --- docs/content/recipes/nginx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/recipes/nginx.md b/docs/content/recipes/nginx.md index 127d900f6..d2c4ff35d 100644 --- a/docs/content/recipes/nginx.md +++ b/docs/content/recipes/nginx.md @@ -151,7 +151,7 @@ Review the [requirements](../#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 -Bbn testuser testpassword > auth/nginx.htpasswd ``` > **Note**: If you do not want to use `bcrypt`, you can omit the `-B` parameter.