mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
32 lines
725 B
Plaintext
32 lines
725 B
Plaintext
// Module included in the following assemblies:
|
|
// * openshift_images/image-streams-managing.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="images-imagestream-remove-tag_{context}"]
|
|
= Removing image stream tags
|
|
|
|
[role="_abstract"]
|
|
To maintain control over your image history and simplify management within {product-title}, you can remove old tags from an image stream. This action helps ensure that your resources track only the current and necessary image references.
|
|
|
|
.Procedure
|
|
|
|
* Remove old tags from an image stream:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc tag -d <image-name:tag>
|
|
----
|
|
+
|
|
For example:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc tag -d python:3.6
|
|
----
|
|
+
|
|
.Example output
|
|
[source,terminal]
|
|
----
|
|
Deleted tag default/python:3.6
|
|
----
|