diff --git a/website/docs/containers/registries/index.md b/website/docs/containers/registries/index.md index 38bd1069755c6..60dd7de0aea57 100644 --- a/website/docs/containers/registries/index.md +++ b/website/docs/containers/registries/index.md @@ -7,6 +7,9 @@ keywords: [podman desktop, podman, containers, registries] hide_table_of_contents: false --- +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + # Setting up container registries ## Overview @@ -115,23 +118,37 @@ If your registry has an insecure certificate, such as a self-signed certificate, 1. Go to a location where you can edit the `registries.conf` file: - - Windows and macOS + + - The configuration file is in the Podman machine: open a terminal in the Podman Machine. + - The configuration file is in the Podman machine: open a terminal in the Podman Machine. ```shell-session $ podman machine ssh [optional-machine-name] ``` - - Linux + + - The configuration file is in your host: open a terminal with superuser privileges. + - The configuration file is in the Podman machine: open a terminal in the Podman Machine. + + ```shell-session + $ podman machine ssh [optional-machine-name] + ``` + + + + + - The configuration file is in your host: open a terminal with superuser privileges. ```shell-session $ sudo su - ``` - 2. Edit the registry optional configuration file. + + + + 1. Edit the registry optional configuration file. ```shell-session # vim /etc/containers/registries.conf` @@ -156,26 +173,38 @@ If your registry has an insecure certificate, such as a self-signed certificate, 1. Restart Podman to apply the changes. - - Windows and macOS + + + + 1. Go to ** Settings > Resources**. + 1. Restart the Podman machine. + + + + + 1. Go to ** Settings > Resources**. + 1. Restart the Podman machine. - 1. Go to ** Settings > Resources**. - 2. Restart the Podman machine. + + - - Linux (rootful) + - Stop all Podman processes. - - Restart Podman. + ```shell-session + $ pkill podman + ``` - ```shell-session - $ sudo systemctl restart podman - ``` + + - - Linux (rootless) + - Restart Podman. - - Stop all Podman processes. + ```shell-session + $ sudo systemctl restart podman + ``` - ```shell-session - $ pkill podman - ``` + + ## Verifying your registry is properly configured