Skip to content

Commit b0baea5

Browse files
authored
Merge pull request #38163 from skrthomas/BZ1859736
BZ1859736: adding podman registry authentication procedure and additional info
2 parents 58d9fe9 + fdf25d5 commit b0baea5

File tree

3 files changed

+32
-6
lines changed

3 files changed

+32
-6
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * registry/registry-options.adoc
4+
5+
[id="authentication_{context}"]
6+
= Authentication
7+
{product-title} can communicate with registries to access private image
8+
repositories using credentials supplied by the user. This allows {product-title}
9+
to push and pull images to and from private repositories.
10+
11+
[id="registry-authentication_{context}"]
12+
== Registry authentication with Podman
13+
Some container image registries require access authorization. Podman is an open source tool for managing containers and container images and interacting with image registries. You can use Podman to authenticate your credentials, pull the registry image, and store local images in a local file-system. The following is a generic example of authenticating the registry with Podman. You can use the link:https://catalog.redhat.com/software/containers/explore[Red Hat Ecosystem Catalog] to search for specific container images from the Red Hat Repository. Select the image you need. Then click the *Get this image* tab to find the `podman` command for your container image.
14+
15+
16+
. Login using the `podman login` command and your username and password authentication to the registry:
17+
+
18+
[source,terminal]
19+
----
20+
$ podman login registry.redhat.io
21+
Username:<your_registry_account_username>
22+
Password:<your_registry_account_password>
23+
----
24+
25+
. Download the image and save it locally using the `podman pull` command:
26+
+
27+
[source,terminal]
28+
----
29+
$ podman pull registry.redhat.io/<repository_name>
30+
----

modules/registry-third-party-registries.adoc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,3 @@ creation.
1414
Refreshing the fetched tags is as simple as running `oc import-image
1515
<stream>`. When new images are detected, the previously described build and
1616
deployment reactions occur.
17-
18-
[id="authentication_{context}"]
19-
== Authentication
20-
{product-title} can communicate with registries to access private image
21-
repositories using credentials supplied by the user. This allows {product-title}
22-
to push and pull images to and from private repositories.

registry/registry-options.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ include::modules/registry-integrated-openshift-registry.adoc[leveloffset=+1]
1414

1515
include::modules/registry-third-party-registries.adoc[leveloffset=+1]
1616

17+
include::modules/registry-authentication.adoc[leveloffset=+2]
18+
1719
include::modules/registry-quay-overview.adoc[leveloffset=+1]
1820

1921
include::modules/registry-authentication-enabled-registry-overview.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)