// Module included in the following assemblies:
// * openshift_images/image-streams-managing.adoc

:_mod-docs-content-type: PROCEDURE
[id="images-imagestream-external-image-tags_{context}"]
= Adding tags for an external image

[role="_abstract"]
To enable {product-title} resources to track and consume container images sourced from external registries, add tags to the corresponding image streams. This action integrates external image content securely into your cluster's local image management system.

.Procedure

* Add tags pointing to internal or external images, by using the `oc tag` command for all tag-related operations:
+
[source,terminal]
----
$ oc tag <repository/image> <image-name:tag>
----
+
For example, this command maps the `docker.io/python:3.6.0` image to the `3.6` tag in the `python` image stream.
+
[source,terminal]
----
$ oc tag docker.io/python:3.6.0 python:3.6
----
+
.Example output
[source,terminal]
----
Tag python:3.6 set to docker.io/python:3.6.0.
----
+
If the external image is secured, you must create a secret with credentials for accessing that registry.
