From 10d2e9fdec9572e7a5f6e23af59c920498c2cd01 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Wed, 5 Apr 2023 13:28:46 +0200 Subject: [PATCH] [CI:DOCS] --creds and registries Mention that specified credentials are only used to authenticate against target registries (e.g., during `pull` or `build`) and are not used to authenticat against mirrors etc. Closes: #17185 Signed-off-by: Valentin Rothberg --- docs/source/markdown/options/creds.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/markdown/options/creds.md b/docs/source/markdown/options/creds.md index 9e425264c9..d88cf4a189 100644 --- a/docs/source/markdown/options/creds.md +++ b/docs/source/markdown/options/creds.md @@ -7,3 +7,8 @@ The [username[:password]] to use to authenticate with the registry, if required. If one or both values are not supplied, a command line prompt will appear and the value can be entered. The password is entered without echo. + +Note that the specified credentials are only used to authenticate against +target registries. They are not used for mirrors or when the registry gets +rewritten (see `containers-registries.conf(5)`); to authenticate against those +consider using a `containers-auth.json(5)` file.