From 861ca9296619fd391599c1ed2e05e215fc3255ce Mon Sep 17 00:00:00 2001 From: Michael Prankl Date: Fri, 23 Feb 2024 14:15:04 +0100 Subject: [PATCH] docs: fix instructions to edit registries.conf Editing /etc/containers/registries.conf requires root. `vim` is also not installed in podman default machine (only `vi`) Signed-off-by: Michael Prankl --- website/docs/containers/registries/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/containers/registries/index.md b/website/docs/containers/registries/index.md index e9f905159e8..c1df0c1c534 100644 --- a/website/docs/containers/registries/index.md +++ b/website/docs/containers/registries/index.md @@ -94,7 +94,7 @@ If your registry has an insecure certificate, such as a self-signed certificate, - The configuration file is in the Podman machine: open a terminal in the Podman Machine. ```shell-session - $ podman machine ssh [optional-machine-name] + $ podman machine ssh --username root [optional-machine-name] ``` @@ -103,7 +103,7 @@ If your registry has an insecure certificate, such as a self-signed certificate, - The configuration file is in the Podman machine: open a terminal in the Podman Machine. ```shell-session - $ podman machine ssh [optional-machine-name] + $ podman machine ssh --username root [optional-machine-name] ``` @@ -121,7 +121,7 @@ If your registry has an insecure certificate, such as a self-signed certificate, 1. Edit the registry optional configuration file. ```shell-session - # vim /etc/containers/registries.conf` + # vi /etc/containers/registries.conf` ``` For each insecure registry, add a `[[registry]]` section that defines: