|
2 | 2 | //
|
3 | 3 | // * registry/index.adoc
|
4 | 4 |
|
| 5 | +:_content-type: PROCEDURE |
5 | 6 | [id="registry-third-party-registries_{context}"]
|
6 | 7 | = Third-party registries
|
7 | 8 |
|
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. |
13 | 10 |
|
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