mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-05-23 17:58:22 +00:00
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 <eidottermihi@gmail.com>
This commit is contained in:
parent
1ec4bd4305
commit
861ca92966
1 changed files with 3 additions and 3 deletions
|
|
@ -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]
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
|
@ -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]
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue