Skip to content

Commit 72b6a85

Browse files
authored
Merge pull request #49741 from xenolinux/authentication
BZ2069674: Add podman registry authentication procedure
2 parents f5863ee + 9622768 commit 72b6a85

File tree

2 files changed

+31
-38
lines changed

2 files changed

+31
-38
lines changed

modules/registry-authentication.adoc

Lines changed: 0 additions & 30 deletions
This file was deleted.

modules/registry-third-party-registries.adoc

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,38 @@
22
//
33
// * registry/index.adoc
44

5+
:_content-type: PROCEDURE
56
[id="registry-third-party-registries_{context}"]
67
= Third-party registries
78

8-
{product-title} can create containers using images from third-party registries,
9-
but it is unlikely that these registries offer the same image notification
10-
support as the integrated {product-title} registry. In this situation,
11-
{product-title} will fetch tags from the remote registry upon imagestream
12-
creation.
9+
{product-title} can create containers using images from third-party registries, but it is unlikely that these registries offer the same image notification support as the integrated {product-title} registry. In this situation, {product-title} will fetch tags from the remote registry upon imagestream creation. To refresh the fetched tags, run `oc import-image <stream>`. When new images are detected, the previously described build and deployment reactions occur.
1310

14-
Refreshing the fetched tags is as simple as running `oc import-image
15-
<stream>`. When new images are detected, the previously described build and
16-
deployment reactions occur.
11+
[id="authentication_{context}"]
12+
== Authentication
13+
{product-title} can communicate with registries to access private image repositories using credentials supplied by the user. This allows {product-title} to push and pull images to and from private repositories.
14+
15+
[id="registry-authentication_{context}"]
16+
=== Registry authentication with Podman
17+
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.
18+
19+
.Procedure
20+
21+
. 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 and select the required image.
22+
23+
. Click *Get this image* to find the command for your container image.
24+
25+
. Login by running the following command and entering your username and password to authenticate:
26+
+
27+
[source,terminal]
28+
----
29+
$ podman login registry.redhat.io
30+
Username:<your_registry_account_username>
31+
Password:<your_registry_account_password>
32+
----
33+
34+
. Download the image and save it locally by running the following command:
35+
+
36+
[source,terminal]
37+
----
38+
$ podman pull registry.redhat.io/<repository_name>
39+
----

0 commit comments

Comments
 (0)